@Test
public void testRemoveColli() {
dialogFixture.requireVisible();
dialogFixture.button("ButtonRemoveColli").requireDisabled();
JListFixture listFixture = dialogFixture.list("ListCollies");
String[] content = listFixture.contents();
int size = content.length;
newColliName = "kolli_" + (size + 1);
dialogFixture.button("ButtonAddColli").click();
DialogFixture optionDialog = WindowFinder.findDialog("Kollioppsett")
.using(dialogFixture.robot);
optionDialog.textBox("TextFieldInput").enterText("test;test");
optionDialog.button("ButtonOk").click();
content = dialogFixture.list("ListCollies").contents();
assertEquals(size + 1, content.length);
dialogFixture.button("SaveApplicationParam").click();
ApplicationParam applicationParam = ApplicationParamUtil
.findParam(newColliName);
assertNotNull(applicationParam);
listFixture.selectItem("test;test");
dialogFixture.button("ButtonRemoveColli").click();
JOptionPaneFinder.findOptionPane().using(dialogFixture.robot)
.buttonWithText("Ja").click();
content = dialogFixture.list("ListCollies").contents();