public function setUp() { //setup test data to query $AVObject = new AVObject('test'); $AVObject->score = 1111; $AVObject->name = 'Foo'; $AVObject->mode = 'cheat'; $this->AVObject = $AVObject->save(); $AVObject2 = new AVObject('test'); $AVObject2->score = 2222; $AVObject2->name = 'Bar'; $AVObject2->mode = 'nocheat'; $AVObject2->phone = '555-555-1234'; $AVObject2->object1 = $AVObject2->dataType('pointer', array('test', $this->AVObject->objectId)); $this->AVObject2 = $AVObject2->save(); $this->AVQuery = \Enhance\Core::getCodeCoverageWrapper('AVQuery', array('test')); $this->AVQueryUser = \Enhance\Core::getCodeCoverageWrapper('AVQuery', array('users')); }