@Override
  protected void setUp() throws Exception {
    super.setUp();

    RoboGuice.injectMembers(getInstrumentation().getTargetContext().getApplicationContext(), this);

    gist = new Gist();
    gist.id = "abcd";
    GistFilesMap files = new GistFilesMap();

    GistFile a = new GistFile();
    GistFile b = new GistFile();

    a.content = "aa";
    a.filename = "a";

    b.content = "bb";
    b.filename = "b";

    files.put("a", a);
    files.put("b", b);
    gist.files = files;
    store.addGist(gist);
    setActivityIntent(GistFilesViewActivity.createIntent(gist, 0));
  }
 public NotificationManager(Context context) {
   RoboGuice.injectMembers(context, this);
   eventBus.register(this);
   this.context = context;
 }
 public ApiKeyExecutor(Context context, Bundle bundle) {
   super(context, bundle, AuthInfo.class, MAX_RETRY_COUNT);
   RoboGuice.injectMembers(context, this);
 }
 public OauthRefreshTokenAuthenticator(Context context) {
   this.context = context;
   RoboGuice.injectMembers(context, this);
 }
 public PrefUtilities(@NonNull Context context) {
   mContext = context;
   preferences = PreferenceManager.getDefaultSharedPreferences(context);
   RoboGuice.injectMembers(context, this);
 }