{
DirectoryService directoryService = DSAnnotationProcessor.getDirectoryService();
assertEquals( "CreateKdcServerAnnotationTest-class", directoryService.getInstanceId() );
KdcServer server = ServerAnnotationProcessor.getKdcServer( directoryService, 1024 );
assertEquals( 2, server.getTransports().length );
assertEquals( directoryService, server.getDirectoryService() );
assertEquals( "apache.org", server.getPrimaryRealm() );
assertEquals( "krbtgt/apache.org@apache.org", server.getServicePrincipal().getName() );
assertEquals( 1000, server.getMaximumTicketLifetime() );
assertEquals( 2000, server.getMaximumRenewableLifetime() );
server.stop();
}