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

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

    public function testTestCreateForExpectedConfigurationStringValue()
    {
        $exception = InvalidArgumentExceptionFactory::createForExpectedConfigurationStringValue(10);
        $this->assertEquals('Expected a string value but got "integer" instead.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }