void (boolean shouldHaveDoc, String inlineDoc, boolean preferShort) { if (shouldHaveDoc) { assertNotNull("inline help is null", inlineDoc); } else { assertNull("inline help is not null", inlineDoc); } if (shouldHaveDoc) { assertSameLinesWithFile(getTestDataPath() + "/" + getTestName(true) + (preferShort ? "_short.html" : ".html"), inlineDoc); } }