// test the selection cycle @Test public void cycleTest1() { this.m.updateSignature(2); String expected = "a"; String result = m.getListOfPrefixes().get(0).toString(); assertEquals(expected, result); }
@Test public void cycleTest2() { this.m.updateSignature(2); this.m.cyclePrefixSelection(); String expected = "b"; String result = m.getListOfPrefixes().get(1).toString(); assertEquals(expected, result); }