PhpGitHooks\Module\Configuration\Tests\Behaviour\ConfigurationProcessorCommandHandlerTest::itShouldNotMakeAnyQuestions PHP Метод

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

    public function itShouldNotMakeAnyQuestions()
    {
        $data = ConfigurationArrayTransformer::transform(PreCommitStub::createAllEnabled(), CommitMsgStub::createEnabled(), PrePushStub::createAllEnabled());
        $this->shouldReadConfigurationData(ConfigStub::createEnabled());
        $this->shouldCopyPreCommitHook();
        $this->shouldCopyCommitMsgHook();
        $this->shouldCopyPrePushHook();
        $this->shouldWriteConfigurationData($data);
        $command = new ConfigurationProcessorCommand($this->getIOInterface());
        $this->configurationProcessorCommandHandler->handle($command);
    }