void () { runWithDocStringFormat(DocStringFormat.GOOGLE, () -> { final List<String> variants = doTestByFile(); assertNotNull(variants); assertContainsElements(variants, "Args", "Keyword Args", "Returns"); assertDoesntContain(variants, "Parameters", "Return", "Yield"); }); }