forEachWithLambdaTypeInference() and forEachWithLambdaMethodReference() and tests.