void () { myModel.setAll(new String[]{"5", "0", "9"}); assertThat(myModel.getItems()).containsExactly("0", "5", "9"); assertEquals(1, myModel.add("3")); assertEquals(1, myModel.add("3")); assertThat(myModel.addAll(new String[]{"7", "4", "4", "1"})).containsExactly(7, 5, 4, 1); assertThat(myModel.getItems()).containsExactly("0", "1", "3", "3", "4", "4", "5", "7", "9"); }