/** * @covers ZfcUser\Authentication\Adapter\Db::setMapper * @covers ZfcUser\Authentication\Adapter\Db::getMapper */ public function testSetGetMapper() { $mapper = new \ZfcUser\Mapper\User(); $mapper->setTableName('zfcUser'); $this->db->setMapper($mapper); $this->assertInstanceOf('ZfcUser\\Mapper\\User', $this->db->getMapper()); $this->assertSame('zfcUser', $this->db->getMapper()->getTableName()); }