*/
protected ResponseContainer queryAndVerifySingle(Command request) throws IOException {
RequestMessage msg = new RequestMessage();
msg.append(request);
ResponseMessage resp = queryAndVerify(msg);
return resp.responses().iterator().next();
}
protected static String verifyGetVarResponse(Command resp, int commandID, int variable, String objectID) throws UnexpectedData {
verify("response code", commandID, resp.id());
verify("variable ID", variable, (int)resp.content().readUnsignedByte());