OAuthCertBoundJwtAccessTokenAuthority implements Authority, AuthorityKeyStore, KeyStore { @Override public String getDomain() { return null; }  @Override void setKeyStore(KeyStore keyStore); @Override String getPublicKey(String domain, String service, String keyId); @Override CredSource getCredSource(); @Override String getAuthenticateChallenge(); @Override String getDomain(); @Override String getHeader(); @Override Principal authenticate(String credentials, String remoteAddr, String httpMethod, StringBuilder errMsg); @Override void initialize(); @Override Principal authenticate(HttpServletRequest request, StringBuilder errMsg);  }
@Test public void testGetDomain() throws Exception { OAuthCertBoundJwtAccessTokenAuthority authority = new OAuthCertBoundJwtAccessTokenAuthority(); assertEquals(authority.getDomain(), null); }