this.entities = ImmutableList.copyOf(entities);
}
public void test() {
List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
List<String> expected = transform(fakes, new EntityToString());
List<String> res = transform(entities, new EntityToString());
assertThat(res.size(), equalTo(2));
assertThat(res, equalTo(expected));
}