public function testCreateServiceWillReturnMappedObjectIfExists()
 {
     $profileMapperFactory = new Application_Factory_ProfileMapper();
     $profileMapper = $this->factory->createService();
     $profileMapperNextCall = $this->factory->createService();
     $this->assertSame($profileMapper, $profileMapperNextCall);
     $this->assertSame($profileMapper, $profileMapperFactory->createService());
 }
 /**
  * 
  * @return Application_Repository_ProfileInterface
  */
 protected function newInstanceOfService()
 {
     $profileMapperFactory = new Application_Factory_ProfileMapper();
     return new Application_Repository_Profile($profileMapperFactory->createService());
 }