// deploy the echo service
String[] args = {"-l", "local:", "samples/echo/deploy.xml"};
AdminClient.main(args);
// define the tests using JUnit assert facilities
TestClient client = new TestClient() {
public void verify(String method, Object sent, Object gotBack) {
assertTrue(method + ": " + gotBack, equals(sent, gotBack));
}
};
// run the tests using a local (in process) server
client.setURL("local:");
client.execute();
System.out.println("Test complete.");
}