@Test
public void testDynamodbEventToRecordsV2_FiltersNullRecords() {

    DynamodbEvent event = dynamodbEvent.clone();
    event.setRecords(Arrays.asList(record_event, null));
    Assertions.assertEquals(2, event.getRecords().size());
    List<Record> convertedRecords = DynamodbEventTransformer.toRecordsV2(event);
    Assertions.assertEquals(expectedRecordsV2, convertedRecords);
    Assertions.assertEquals(1, convertedRecords.size());
}