Example #1
0
 public static function setUpBeforeClass()
 {
     $data = json_decode(file_get_contents(dirname(__DIR__) . '/fixtures/achievement.json'), true);
     self::$obj = new Criteria();
     self::$obj->setServiceLocator(new ServiceLocator());
     self::$obj->populate($data['criteria'][0]);
 }