public function testGetLogger()
 {
     $logger = $this->manager->get('Monolog\\ErrorLogFromManager');
     $this->assertInstanceOf('Monolog\\Logger', $logger);
 }
 /**
  * Create service with name
  *
  * @param ServiceLocatorInterface $serviceLocator
  * @param $name
  * @param $requestedName
  * @return mixed
  */
 public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
 {
     $this->manager = $serviceLocator->get('MonologZf2\\Manager\\LoggerManager');
     return $this->manager->get($requestedName);
 }