def setUp(self):
super(TestSearchMethod, self).setUp()<EOL>app_token = facebook.GraphAPI().get_app_access_token(<EOL>self.app_id, self.secret, True<EOL>)<EOL>self.create_test_users(self.app_id, facebook.GraphAPI(app_token), <NUM_LIT:1>)<EOL>user = self.test_users[<NUM_LIT:0>]<EOL>self.graph = facebook.GraphAPI(user["<STR_LIT>"])<EOL>
Create GraphAPI object that can search (i.e. has user token).