@Test
public void testWalkObjectGraphSelfReferenceArray() throws Exception {

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