void () { getSettings().ALIGN_MULTILINE_METHOD_BRACKETS = true; doTextTest( """ public class Foo { private IntPredicate example1() { return Boo.combine(Boo.p1(), Boo.p2()); } \s private boolean example2() { return IntStream.range(0, 4).allMatch(Boo.combine(Boo.p1(), Boo.p2())); } }""", """ public class Foo { private IntPredicate example1() { return Boo.combine(Boo.p1(), Boo.p2()); } private boolean example2() { return IntStream.range(0, 4).allMatch(Boo.combine(Boo.p1(), Boo.p2())); } }""" ); }