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

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

    public function testTestCreateForInvalidLimitValue()
    {
        $exception = InvalidArgumentExceptionFactory::createForInvalidLimitValue(10);
        $this->assertEquals('Expected limit value to be a strictly positive integer, got "10" instead.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }