Fakerino\Test\Core\RegEx\Exception\InvalidRegexExceptionTest::testInvalidRegexException PHP Méthode

testInvalidRegexException() public méthode

    public function testInvalidRegexException()
    {
        $e = new InvalidRegexException('foo');
        $this->assertEquals('The format of the regular expression "foo" is invalid', $e->getMessage(), 'A message should be generated');
    }
InvalidRegexExceptionTest