/**
  * @test
  */
 public function testRegistry()
 {
     $defaultManager = \Mockery::mock();
     $this->serviceManager->shouldReceive('get')->with('testService')->andReturn($defaultManager);
     $res = $this->instance->getManager('testService');
     $this->assertEquals($defaultManager, $res);
 }