### Question:
AbstractKinesisRecordTranslator { public List<T> toValues(List<Record> records) throws IOException { List<T> values = new LinkedList<>(); if (records != null && !records.isEmpty()) { for (Record record : records) { values.add(this.toValue(record)); } } return values; }  List<T> toValues(List<Record> records);  }### Answer:
@Test public void toValues_GivenNullItems_ShouldReturnEmptyList() throws IOException { Assert.assertThat(translator.toValues(null), Matchers.empty()); }
@Test public void toValues_GivenEmptyList_ShouldReturnEmptyList() throws IOException { Assert.assertThat(translator.toValues(Collections.emptyList()), Matchers.empty()); }