function it_warns_when_method_name_is_reserved($exampleEvent, $suiteEvent, ConsoleIO $io, NameChecker $nameChecker)
{
$this->callAfterExample($exampleEvent, $nameChecker, 'throw', false);
$io->writeBrokenCodeBlock("I cannot generate the method 'throw' for you because it is a reserved keyword", 2)->shouldBeCalled();
$this->afterSuite($suiteEvent);
}