@Test
public void buildRecordsMissingRecordsArray() throws ValidationException {

    thrown.expect( ValidationException.class );
    thrown.expectMessage("Missing 'records' array");
    buildRecords("myTopic", Buffer.buffer("{}"));
}