@Test
public void testEquals() {

	assertTrue(new Reference<Foo>(Foo.class, 1).equals(new Reference<Foo>(
			Foo.class, 1)));
	assertFalse(new Reference<Foo>(Foo.class, 1).equals(new Reference<Foo>(
			Foo.class, 2)));
}