for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpGitHooks\Module\Configuration\Tests\Behaviour;
use PhpGitHooks\Module\Configuration\Contract\Exception\InvalidToolInterfaceException;
use PHPUnit\Framework\TestCase;
class InvalidToolInterfaceExceptionTest extends TestCase
{
/**
* @test
*/
public function itShouldReturnMessage()
try {
throw new InvalidToolInterfaceException('tool_name');
} catch (InvalidToolInterfaceException $e) {
$this->assertTrue(is_string($e->getMessage()));
}