PhpGitHooks\Module\Configuration\Tests\Behaviour\InvalidToolInterfaceExceptionTest::itShouldReturnMessage PHP Метод

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

    public function itShouldReturnMessage()
    {
        try {
            throw new InvalidToolInterfaceException('tool_name');
        } catch (InvalidToolInterfaceException $e) {
            $this->assertTrue(is_string($e->getMessage()));
        }
    }
InvalidToolInterfaceExceptionTest