예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function setUp()
 {
     $this->serviceManager = Bootstrap::getServiceManager();
     $this->entityManager = $this->serviceManager->get('doctrine.entitymanager.orm_default');
     $this->contactService = new ContactService();
     $this->contactService->setServiceLocator($this->serviceManager);
 }
예제 #2
0
 /**
  * {@inheritDoc}
  */
 public function setUp()
 {
     $this->serviceManager = Bootstrap::getServiceManager();
     $this->entityManager = $this->serviceManager->get('Doctrine\\ORM\\EntityManager');
     $this->programService = new ProgramService();
     $this->programService->setServiceLocator($this->serviceManager);
     $this->contactService = new ContactService();
     $this->contactService->setServiceLocator($this->serviceManager);
 }
예제 #3
0
 /**
  * {@inheritDoc}
  */
 public function setUp()
 {
     $this->serviceManager = Bootstrap::getServiceManager();
     $this->contactService = new ContactService();
     $this->contactService->setServiceLocator($this->serviceManager);
 }