CallableReference<Gamma> gammaRef = null;
boolean testPassed = true;
try {
gammaRef = beta.getRef(param);
while (gammaRef.getService().hasNext()) {
Record record = gammaRef.getService().next();
if (!record.conversationId.equals(gammaRef.getConversation().getConversationID())) {
// Record returned is not from this conversation.
testPassed = false;
}
}