@Test
public void t298_register() throws Exception {
server = new SCServer(TestConstants.HOST, TestConstants.PORT_SC0_HTTP, TestConstants.PORT_SES_SRV_HTTP, ConnectionType.NETTY_HTTP);
server.startListener();
SCSessionServer sessionServer1 = server.newSessionServer(TestConstants.sesServiceName1);
SCSessionServerCallback cbk1 = new SesSrvCallback(sessionServer1);
sessionServer1.register(1, 1, cbk1);
Assert.assertEquals("SessionServer is not registered", true, sessionServer1.isRegistered());
SCSessionServer sessionServer2 = server.newSessionServer(TestConstants.sesServiceName2);
SCSessionServerCallback cbk2 = new SesSrvCallback(sessionServer2);
sessionServer2.register(1, 1, cbk2);
Assert.assertEquals("SessionServer is not registered", true, sessionServer2.isRegistered());
sessionServer1.deregister();
sessionServer2.deregister();