Example #1
0
 protected function setUp()
 {
     Manager::freeAll();
     $diContainer = $this->getDiContainer();
     $server = $diContainer->get('Cundd\\PersistentObjectStore\\Server\\DummyServer');
     $diContainer->set('Cundd\\PersistentObjectStore\\Server\\ServerInterface', $server);
     $coordinator = $diContainer->get('Cundd\\PersistentObjectStore\\DataAccess\\CoordinatorInterface');
     parent::setUp();
     $this->database = $coordinator->getDatabase('contacts');
 }
Example #2
0
 protected function tearDown()
 {
     unset($this->fixture);
     parent::tearDown();
 }