void (@NotNull TextWithMnemonic wrapper, @NotNull String expectedText, @NotNull String expectedTextWithSuffix) { assertEquals(expectedText, wrapper.getText()); assertEquals(expectedText, wrapper.getText(false)); assertEquals(expectedTextWithSuffix, wrapper.getText(true)); }