@Override protected void tearDown() throws Exception { server.stopServer(); server = null; super.tearDown(); }
protected void setUp() throws Exception { server = new TestServer(); if (!server.startServer("classpath:/WEB-INF/flex/services-config.xml")) { Assert.fail("Couldn't start server process"); } AMFConnection.registerAlias( "remoting.amfclient.ServerCustomType" /* server type */, "amfclient.ClientCustomType" /* client type */); super.setUp(); }