MyAvroServer server = new MyAvroServer();
server.serve();
AdminRPC client = new AdminRPCAvro("localhost", 56789);
LOG.info("Connected to test master");
long submit = client.submit(new Command(""));
Assert.assertEquals("Expected response was 42, got " + submit, submit, 42);
boolean succ = client.isSuccess(42);
Assert
.assertEquals("Expected response was false, got " + succ, succ, false);