@Test
public void testWalkObjectGraphSelfReference() throws Exception {

	SelfReference selfReference = new SelfReference();
	ObjectGraphUtil.walkObjectGraph(selfReference, _recordVisitor);
	Assert.assertEquals(_entries.toString(), 1, _entries.size());
	Map.Entry<Field, Object> entry = _entries.get(0);
	Assert.assertEquals(
		ReflectionUtil.getDeclaredField(
			SelfReference.class, "_selfReference"),
		entry.getKey());
	Assert.assertSame(selfReference, entry.getValue());
}