### Question:
AuthServer extends TaskedServer { public Authenticator getAuthenticator() { return authenticator; } AuthServer(ServerInit initInfo, Authenticator authenticator); Authenticator getAuthenticator();  }### Answer:
@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); }