public void EmptyBraceFormatting(EmptyBraceFormatting emptyBraceFormatting, string expected) { Test( expected, Syntax.MethodDeclaration( Syntax.ParseName("void"), "Method", Syntax.ParameterList(), Syntax.Block() ), p => p.BracesLayout.EmptyBraceFormatting = emptyBraceFormatting ); }