Méthode |
Description |
|
it_does_not_prompt_if_it_cannot_generate_the_resource ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resources, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception ) |
|
|
it_does_not_prompt_when_code_generation_is_disabled ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception ) |
|
|
it_does_not_prompt_when_collaborator_is_not_an_interface ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception ) |
|
|
it_does_not_prompt_when_no_exception_is_thrown ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent ) |
|
|
it_does_not_prompt_when_wrong_exception_is_thrown ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent ) |
|
|
it_generates_the_method_signature_when_user_says_yes_at_prompt ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception, PhpSpec\Locator\Resource $resource, GeneratorManager $generator ) |
|
|
it_is_an_event_subscriber ( ) |
|
|
it_listens_to_afterexample_events ( ) |
|
|
it_marks_the_suite_as_being_worth_rerunning_when_generation_happens ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception ) |
|
|
it_prompts_and_warns_when_one_method_name_is_correct_but_other_reserved ( ExampleEvent $event, SuiteEvent $suiteEvent, ConsoleIO $io, PhpSpec\Util\NameChecker $nameChecker ) |
|
|
it_prompts_the_user_when_a_prophecy_method_exception_is_thrown ( ConsoleIO $io, ExampleEvent $event, SuiteEvent $suiteEvent, Prophecy\Exception\Doubler\MethodNotFoundException $exception ) |
|
|
it_warns_if_a_method_name_is_wrong ( ExampleEvent $event, SuiteEvent $suiteEvent, ConsoleIO $io, PhpSpec\Util\NameChecker $nameChecker ) |
|
|
let ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resources, ExampleEvent $event, Prophecy\Exception\Doubler\MethodNotFoundException $exception, PhpSpec\Locator\Resource $resource, GeneratorManager $generator, PhpSpec\Util\NameChecker $nameChecker ) |
|
|