public void t02_checkPublishServer() throws Exception {
server = new SCServer(TestConstants.HOST, TestConstants.PORT_SC0_TCP, TestConstants.PORT_SES_SRV_TCP, ConnectionType.NETTY_TCP);
server.startListener();
publishServer = server.newPublishServer(TestConstants.pubServiceName1);
SCPublishServerCallback cbk = new PubSrvCallback(publishServer);
publishServer.register(1, 1, cbk);
Assert.assertEquals("PublishServer is not registered", true, publishServer.isRegistered());
publishServer.checkRegistration();
Assert.assertEquals("PublishServer is not registered", true, publishServer.isRegistered());
}