void () { getSettings().KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE = true; getSettings().SPACE_AROUND_LAMBDA_ARROW = true; doMethodTest("()->{}", "() -> {}"); getSettings().SPACE_AROUND_LAMBDA_ARROW = false; doMethodTest("() -> {}", "()->{}"); }