public void testGetVersionHighLevel() throws IOException {
RequestMessage reqm = new RequestMessage();
reqm.append(new Command(Constants.CMD_GETVERSION));
reqm.writeTo(outStream);
ResponseMessage respm = new ResponseMessage(inStream);
assertEquals(1, respm.responses().size());
ResponseContainer pair = respm.responses().get(0);
assertEquals(Constants.CMD_GETVERSION, pair.getStatus().id());
Command resp = pair.getResponse();
assertEquals(Constants.CMD_GETVERSION, resp.id());
assertEquals(API_VERSION, resp.content().readInt());