/**
  * Test that a event manager can be created.
  */
 public function testEventManagerCreation()
 {
     $config = $this->createMock(Config::class);
     $cache = $this->createMock(Cache::class);
     $mappingDriver = $this->createMock(AnnotationDriver::class);
     $provider = new EntityManagerProvider($config, $cache, $mappingDriver);
     $this->assertInstanceOf(EventManager::class, $provider->getEventManager());
 }