@Test
public void testFrom() {

	List<Foo> foos = new ArrayList<>();
	foos.add(new Foo());
	try {
		References.from(foos);
		fail();
	} catch(IllegalArgumentException expected) {
	}
	Row.setID(foos.get(0), 1l);
	References<Foo> references = References.from(foos);
	assertEquals(1, references.size());
	Reference<Foo> foo = references.iterator().next();
}