/** * @covers Xoops\Core\Lists\ListAbstract::getList * @todo Implement testGetList(). */ public function testGetList() { $reflection = new \ReflectionClass($this->className); $this->assertTrue($reflection->hasMethod('getList')); $method = $reflection->getMethod('getList'); $this->assertTrue($method->isStatic()); $this->assertSame($this->object->getList(), []); }
/** * Constructor * * @param mixed $db_link_user user database link resource|object */ public function __construct($db_link_user = null) { $this->db_link = $db_link_user; $this->db_link_user = $db_link_user; parent::__construct(); $this->build(); }