@Test void testGetMessage() { when(oidcUser.getSubject()).thenReturn("userId"); assertEquals( "email claim missing for subject 'userId'", oidcUserMissingEmailException.getMessage()); }
@Override public String getMessage() { return "email claim missing for subject '" + oidcUser.getSubject() + '\''; }
OidcUserMissingEmailException extends RuntimeException { @Override public String getMessage() { return "email claim missing for subject '" + oidcUser.getSubject() + '\''; } }
OidcUserMissingEmailException extends RuntimeException { @Override public String getMessage() { return "email claim missing for subject '" + oidcUser.getSubject() + '\''; } OidcUserMissingEmailException(OidcUser oidcUser); }
OidcUserMissingEmailException extends RuntimeException { @Override public String getMessage() { return "email claim missing for subject '" + oidcUser.getSubject() + '\''; } OidcUserMissingEmailException(OidcUser oidcUser); @Override String getMessage(); }
OidcUserMissingEmailException extends RuntimeException { @Override public String getMessage() { return "email claim missing for subject '" + oidcUser.getSubject() + '\''; } OidcUserMissingEmailException(OidcUser oidcUser); @Override String getMessage();  }