public function itShouldThrowsException()
{
$this->expectException(InvalidCommitMessageException::class);
$configurationDataResponse = ConfigurationDataResponseStub::createCustom(true, true, true);
$this->shouldHandleQuery(new ConfigurationDataFinderQuery(), $configurationDataResponse);
$this->shouldGetInputFirstArgument('file');
$this->shouldFindCommitMessage('file', 'invalid commit message');
$this->shouldCallIsMerge(false);
$this->commitMsgCommandHandler->handle(new CommitMsgCommand($this->getInput()));
}