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

testTestCreateForUnsupportedTypeForIdenticalValuesCheck() public method

    public function testTestCreateForUnsupportedTypeForIdenticalValuesCheck()
    {
        $exception = InvalidArgumentExceptionFactory::createForUnsupportedTypeForIdenticalValuesCheck(true);
        $this->assertEquals('Unsupported type "boolean": cannot determine if two values of this type are identical.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }