예제 #1
0
 public static function setUpBeforeClass()
 {
     $data = json_decode(file_get_contents(dirname(__DIR__) . '/fixtures/character.json'), true);
     self::$obj = new Character();
     self::$obj->setServiceLocator(new ServiceLocator());
     self::$obj->populate($data);
 }