JMOlivas\Phpqa\Command\AnalyzeCommandTest::it_should_throw_exception_if_both_files_and_git_options_are_provided PHP Метод

it_should_throw_exception_if_both_files_and_git_options_are_provided() публичный Метод

    function it_should_throw_exception_if_both_files_and_git_options_are_provided()
    {
        $application = new Application();
        $command = new AnalyzeCommand();
        $command->setApplication($application);
        $tester = new CommandTester($command);
        $tester->execute(['--files' => [null], '--git' => true]);
    }