@Test
    public void testCancelButtonBeforeCalculated() throws Exception {
        propertyChangeSupport.firePropertyChange(DialogWindowController.PERCENTAGE, 0, 10);
        view.getButton().getActionListeners()[0].actionPerformed(actionEvent);
        assertEquals(propertyName, DialogWindowController.CANCEL);
        assertEquals(view.getProgressBar().getValue(), 0);
    }