public function getUserWithObjectIdExpectUsername() { $testUser = new AVUser(); $testUser->username = $this->testUser['username']; $testUser->password = $this->testUser['password']; //need to clear properties after a call like this to make sure username/password aren't used for the get command below $user = $testUser->signup(); $AVUser = new AVUser(); $return = $AVUser->get($user->objectId); \Enhance\Assert::isTrue(property_exists($return, 'username')); }