@Test public void shouldGetIsSuccessfulWhenAuthContextNotSuccess() { given(authContext.getStatus()).willReturn(AuthContext.Status.FAILED); boolean success = loginProcess.isSuccessful(); assertFalse(success); }
public boolean isSuccessful() { return AuthContext.Status.SUCCESS.equals(authContext.getStatus()); }
LoginProcess { public boolean isSuccessful() { return AuthContext.Status.SUCCESS.equals(authContext.getStatus()); } }
LoginProcess { public boolean isSuccessful() { return AuthContext.Status.SUCCESS.equals(authContext.getStatus()); } LoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration,
            AuthContextLocalWrapper authContext, CoreServicesWrapper coreServicesWrapper); }
LoginProcess { public boolean isSuccessful() { return AuthContext.Status.SUCCESS.equals(authContext.getStatus()); } LoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration,
            AuthContextLocalWrapper authContext, CoreServicesWrapper coreServicesWrapper); LoginStage getLoginStage(); Callback[] getCallbacks(); PagePropertiesCallback getPagePropertiesCallback(); LoginProcess next(Callback[] callbacks); boolean isSuccessful(); AuthContextLocalWrapper getAuthContext(); LoginConfiguration getLoginConfiguration(); }
LoginProcess { public boolean isSuccessful() { return AuthContext.Status.SUCCESS.equals(authContext.getStatus()); } LoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration,
            AuthContextLocalWrapper authContext, CoreServicesWrapper coreServicesWrapper); LoginStage getLoginStage(); Callback[] getCallbacks(); PagePropertiesCallback getPagePropertiesCallback(); LoginProcess next(Callback[] callbacks); boolean isSuccessful(); AuthContextLocalWrapper getAuthContext(); LoginConfiguration getLoginConfiguration();  }