List<ServerInfo> relayOrder = new ArrayList<ServerInfo>(relays);
List<IdNamePair> sourcesResponse = new ArrayList<IdNamePair>();
sourcesResponse.add(new IdNamePair(1L, "source1"));
RegisterResponseEntry rre1 = new RegisterResponseEntry(1L, (short)1, SCHEMA$.toString());
final HashMap<Long, List<RegisterResponseEntry>> registerResponseSources =
new HashMap<Long, List<RegisterResponseEntry>>(); // mapping of sourceId to list of schema versions for that ID
registerResponseSources.put(1L, Arrays.asList(rre1));
ChunkedBodyReadableByteChannel channel = new MockChunkedBodyReadableByteChannel(clientReadBufferSize+10);