@Test
    public void testCancelButtonAfterCalculated() throws Exception {
        propertyChangeSupport.firePropertyChange(DialogWindowController.CALCULATED, 0, 1);
        assertEquals(view.getButton().isEnabled(), false);
        view.close();
        assertEquals(view.getButton().isEnabled(), true);
    }