forEachWithAnonymousInnerClass() and test.