public function testTestCreateNewExceptionWithFactory()
{
$exception = ParameterNotFoundExceptionFactory::create('foo');
$this->assertEquals('Could not find the parameter "foo".', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}