assertNotNull(response.getMessage(), id);
joinFlow(id);
LOG.debug("Flow runtime complete");
// Examine the response records.
MemoryOutputElement output = getOutput("testSelect");
assertNotNull(output);
List<GenericData.Record> outRecords = output.getRecords();
GenericData.Record firstRecord = outRecords.get(0);
for (Pair<String, Object> check : checkFields) {
String checkName = check.getLeft();
Object checkVal = check.getRight();
assertEquals(checkVal, firstRecord.get(checkName));