@Test(expected = IllegalArgumentException.class)
public void createLoginActivityIntentShouldThrowExceptionWhenSecondPassedIsNull() {

    Activity activity = mock(Activity.class);
    AuthenticationClient.createLoginActivityIntent(activity, null);
}