public function testTestCreateNewExceptionWithFactoryForParameter()
{
$exception = ResolverNotFoundExceptionFactory::createForParameter('foo');
$this->assertEquals('No resolver found to resolve parameter "foo".', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}