void () { for (Data testCase : data) { Presentation p1 = new Presentation(); p1.setText(testCase.inputTextsAmpersand); Presentation p2 = new Presentation(); p2.setText(testCase.inputTextsUnderscore); assertEquals(p1.getText(), p2.getText()); assertEquals(p1.getMnemonic(), p2.getMnemonic()); assertEquals(p1.getDisplayedMnemonicIndex(), p2.getDisplayedMnemonicIndex()); } }