LoginManager { public void login(String authToken) { setAuthToken(authToken); prefs.putString(PREF_AUTH_TOKEN, authToken); } @Inject  LoginManager(AuthInterceptor authInterceptor, Prefs prefs); void login(String authToken); void logout(); boolean isLoggedOut();  }
@Test public void login() { loginManager.login("testToken"); assertThat(loginManager.isLoggedOut(), is(false)); }