@Test
public void okButtonDisabledWhenListSelectionIsCleared() throws Exception {

    showDialog();
    // Make a list selection, then clear it
    JListFixture list = windowFixture.list();
    list.clickItem(0);
    windowFixture.robot.waitForIdle();
    list.clearSelection();
    windowFixture.robot.waitForIdle();
    getButton("OK").requireDisabled();
}