@Test
public void testAddChoice() {
dialogFixture.button("AddAttribute").click();
DialogFixture editDialog = WindowFinder.findDialog("EditAttributeView")
.using(dialogFixture.robot);
editDialog.textBox("TextFieldName").enterText("testing");
editDialog.textBox("TextFieldDescription").click();
editDialog.button("SaveAttribute").click();
JOptionPaneFinder.findOptionPane().using(dialogFixture.robot)
.buttonWithText("Nei").click();
editDialog.button("AddAttributeChoice").click();
DialogFixture choiceDialog = WindowFinder.findDialog(
"EditAttributeChoiceView").using(dialogFixture.robot);
choiceDialog.textBox("TextFieldChoiceValue").enterText("test");
choiceDialog.button("ButtonOk").click();
editDialog.button("EditCancelAttribute").click();
JTableFixture tableFixture = dialogFixture.table("TableAttribute");
int rowCount = tableFixture.target.getRowCount();