@Test public void toValues_GivenNullItems_ShouldReturnEmptyList() throws IOException { Assert.assertThat(translator.toValues(null), Matchers.empty()); }
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; }
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; } }
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; }  }
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); }
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);  }