public function test_timeline_exists() { if (!($list = Model_TimelineCache::find('all'))) { \Util_Develop::output_test_info(__FILE__, __LINE__); $this->markTestSkipped('No record for test.'); } foreach ($list as $obj) { // test for cache exists. $timelines = Model_Timeline::check_authority($obj->timeline_id); $this->assertNotEmpty($timelines); } }