0,
true
);
BytesStreamOutput out = new BytesStreamOutput();
resp.writeTo(out);
byte[] expectedBytes = new byte[]
{ 0,0,2,2,4,99,111,108,49,4,99,111,108,50,0,0,0,2,0,9,114,111,119,49,95,99,111,108,49,0,9,114,111,119,49,95,99,111,108,50,0,9,114,111,119,50,95,99,111,108,49,0,9,114,111,119,50,95,99,111,108,50,0,1,0,0,0,2,4,4};
byte[] bytes = out.bytes().toBytes();
assertThat(bytes, is(expectedBytes));