@Test public void testConstructor() throws Exception { ServerInit serverInit = new ServerInit(); Authenticator authenticator = mock(Authenticator.class); AuthServer authServer = new AuthServer(serverInit, authenticator); authServer.shutdown(); Assert.assertEquals(authServer.getAuthenticator(), authenticator); }
public Authenticator getAuthenticator() { return authenticator; }
AuthServer extends TaskedServer { public Authenticator getAuthenticator() { return authenticator; } }
AuthServer extends TaskedServer { public Authenticator getAuthenticator() { return authenticator; } AuthServer(ServerInit initInfo, Authenticator authenticator); }
AuthServer extends TaskedServer { public Authenticator getAuthenticator() { return authenticator; } AuthServer(ServerInit initInfo, Authenticator authenticator); Authenticator getAuthenticator(); }
AuthServer extends TaskedServer { public Authenticator getAuthenticator() { return authenticator; } AuthServer(ServerInit initInfo, Authenticator authenticator); Authenticator getAuthenticator();  }