/**
* @test
*/
public function itShouldDisableHook()
{
$this->shouldAsk(HookQuestions::COMMIT_MSG_HOOK, HookQuestions::DEFAULT_TOOL_ANSWER, 'n');
$commitMsg = $this->commitMsgProcessor->process(CommitMsgStub::setUndefined(), $this->getIOInterface());
$this->assertFalse($commitMsg->isUndefined());
$this->assertFalse($commitMsg->isEnabled());
$this->assertNull($commitMsg->getRegularExpression()->value());
}