Inheritance: implements Lemon\RestBundle\Object\ManagerFactoryInterface
 public function testCreatesManagerWithCorrectClass()
 {
     $eventDispatcher = $this->mock('Symfony\\Component\\EventDispatcher\\EventDispatcher')->new();
     $doctrine = $this->mock('Doctrine\\Bundle\\DoctrineBundle\\Registry')->new();
     $registry = new Registry();
     $registry->add(new Definition('person', 'Lemon\\RestBundle\\Tests\\Fixtures\\Person'));
     $managerFactory = new ManagerFactory($registry, $doctrine, $eventDispatcher);
     $manager = $managerFactory->create("person");
     $this->assertEquals('Lemon\\RestBundle\\Tests\\Fixtures\\Person', $manager->getClass());
 }