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'); }
protected function tearDown() { unset($this->fixture); parent::tearDown(); }