List<String> list = new ArrayList();
list.add("one");
list.add("two");
list.add("three");
Collections collections = I.make(Collections.class);
collections.setList(list);
Collections other = writeThenRead(collections);
assert other.getList().size() == 3;
assert other.getList().get(0).equals("one");
assert other.getList().get(1).equals("two");
assert other.getList().get(2).equals("three");
}