Exemplo n.º 1
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   _serverConfig = new ServerConfiguration(new XMLConfiguration());
   ApplicationRegistry.initialise(new TestApplicationRegistry(_serverConfig));
   _address = new InetSocketAddress("127.0.0.1", 65535);
 }
Exemplo n.º 2
0
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
   ApplicationRegistry.remove();
 }