function setUp() { $this->db = \phpunit_bootstrap::getServiceManager()->get('Zend\\Db\\Adapter\\Adapter'); $this->db->getDriver()->getConnection()->beginTransaction(); $this->dataMapper = new DataMapper($this->db); }
function setUp() { $this->db = phpunit_bootstrap::getServiceManager()->get('Zend\\Db\\Adapter\\Adapter'); $this->emptyTables(); }