@Test(expected = IllegalArgumentException.class) public void createLoginActivityIntentShouldThrowExceptionWhenSecondPassedIsNull() { Activity activity = mock(Activity.class); AuthenticationClient.createLoginActivityIntent(activity, null); }
public static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request) { return LoginActivity.getAuthIntent(contextActivity, request); }
AuthenticationClient { public static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request) { return LoginActivity.getAuthIntent(contextActivity, request); } }
AuthenticationClient { public static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request) { return LoginActivity.getAuthIntent(contextActivity, request); } AuthenticationClient(Activity activity); }
AuthenticationClient { public static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request) { return LoginActivity.getAuthIntent(contextActivity, request); } AuthenticationClient(Activity activity); static void openLoginInBrowser(Activity contextActivity, AuthenticationRequest request); static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request); static void openLoginActivity(Activity contextActivity, int requestCode, AuthenticationRequest request); static void stopLoginActivity(Activity contextActivity, int requestCode); static AuthenticationResponse getResponse(int resultCode, Intent intent); static void openDownloadSpotifyActivity(Activity contextActivity); static void openDownloadSpotifyActivity(Activity contextActivity, String campaign); static boolean isAvailable(Context ctx, Intent intent); }
AuthenticationClient { public static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request) { return LoginActivity.getAuthIntent(contextActivity, request); } AuthenticationClient(Activity activity); static void openLoginInBrowser(Activity contextActivity, AuthenticationRequest request); static Intent createLoginActivityIntent(Activity contextActivity, AuthenticationRequest request); static void openLoginActivity(Activity contextActivity, int requestCode, AuthenticationRequest request); static void stopLoginActivity(Activity contextActivity, int requestCode); static AuthenticationResponse getResponse(int resultCode, Intent intent); static void openDownloadSpotifyActivity(Activity contextActivity); static void openDownloadSpotifyActivity(Activity contextActivity, String campaign); static boolean isAvailable(Context ctx, Intent intent);  }