Nelmio\Alice\Throwable\Exception\FixtureBuilder\Denormalizer\DenormalizerExceptionFactoryTest::testTestCreateDenormalizerNotFoundUnexpectedCall PHP Method

testTestCreateDenormalizerNotFoundUnexpectedCall() public method

    public function testTestCreateDenormalizerNotFoundUnexpectedCall()
    {
        $exception = DenormalizerExceptionFactory::createDenormalizerNotFoundUnexpectedCall('fake');
        $this->assertEquals('Expected method "fake" to be called only if it has a denormalizer.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }