/** * @expectedException UndefinedEndpointException */ public function testUndefinedSecondLevel() { $sections = CleverSection::all(array('limit' => 1)); $section = $sections[0]; $objs = $section->eventz(); }
public static function init() { self::$secondLevelEndpoints = array('school' => array(), 'district' => array(), 'students' => array(), 'teacher' => array(), 'events' => array()); }