public function testGetItemMapperPostgres() { $factory = new MapperFactory('pgsql', $this->db); $this->assertTrue($factory->getItemMapper() instanceof \OCA\News\Db\Postgres\ItemMapper); }
public function testGetItemMapperMysql() { $factory = new MapperFactory('mysql', $this->db); $this->assertTrue($factory->getItemMapper() instanceof \OCA\News\Db\Mysql\ItemMapper); }