Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactoryTest::testTestCreateForInvalidSeedConfigurationValue PHP Method

testTestCreateForInvalidSeedConfigurationValue() public method

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