public function testItems() { $items = Lookup::items('CrashReportStatus'); $this->assertTrue($items[1] == 'Waiting'); Lookup::reset(); $items = Lookup::items('BugStatus', Bug::STATUS_OPEN_MAX); $this->assertTrue($items[1] == 'New'); $this->assertTrue(count($items) == 4); }