Nelmio\Alice\Throwable\Exception\Generator\Resolver\ResolverNotFoundExceptionFactoryTest::testTestCreateNewExceptionWithFactoryForValue PHP Method

testTestCreateNewExceptionWithFactoryForValue() public method

    public function testTestCreateNewExceptionWithFactoryForValue()
    {
        $exception = ResolverNotFoundExceptionFactory::createForValue(new DummyValue('dummy'));
        $this->assertEquals('No resolver found to resolve value "dummy".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }