CertificateAuthority implements Authority { @Override public String getDomain() { return null; }  @Override void initialize(); @Override String getID(); @Override String getDomain(); @Override String getHeader(); @Override String getAuthenticateChallenge(); @Override Principal authenticate(String creds, String remoteAddr, String httpMethod, StringBuilder errMsg); @Override CredSource getCredSource(); @Override Principal authenticate(X509Certificate[] certs, StringBuilder errMsg);  }
@Test public void testGetDomain() { CertificateAuthority authority = new CertificateAuthority(); authority.initialize(); assertNull(authority.getDomain()); }