Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactoryTest::testTestCreateForInvalidFakerFormatter PHP Метод

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

    public function testTestCreateForInvalidFakerFormatter()
    {
        $exception = InvalidArgumentExceptionFactory::createForInvalidFakerFormatter('foo');
        $this->assertEquals('Invalid faker formatter "foo" found.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }