@Test public void shouldCallAfterTraverse() throws Exception { traverser.setAfterTraverse(afterTraverse); traverser.traverse(foo); ArgumentCaptor<Field> argument = ArgumentCaptor.forClass(Field.class); verify(afterTraverse, times(1)).doWith(argument.capture(), any(), anyString()); assertEquals(Map.class, argument.getValue().getType()); }
public void traverse(Object root) { traverse(root, null); }
ObjectGraphTraverser { public void traverse(Object root) { traverse(root, null); } }
ObjectGraphTraverser { public void traverse(Object root) { traverse(root, null); } ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter, List<Traverser> traversers);  ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter); }
ObjectGraphTraverser { public void traverse(Object root) { traverse(root, null); } ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter, List<Traverser> traversers);  ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter); void traverse(Object root); void traverse(final Object target, final String currentPath); }
ObjectGraphTraverser { public void traverse(Object root) { traverse(root, null); } ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter, List<Traverser> traversers);  ObjectGraphTraverser(TraverserCallback callback, TraverserFieldFilter traverseFilter,
			TraverserFieldFilter fieldFilter); void traverse(Object root); void traverse(final Object target, final String currentPath);  }