@Test
public void testOnLoadConfigurationFileButtonClicked() throws Exception {

    // run
    model.onLoadConfigurationFileButtonClicked();
    // verify
    assertFalse(model.isLoadedPackageNamesContainerVisible());
    verify(propertyChangedListener, times(1)).onPropertyChanged(MainActivityModel.PROPERTY_LOADED_PACKAGE_NAMES_LIST);
    assertTrue(model.isConfigurationLoadingInProgress());
    verify(propertyChangedListener, times(1)).onPropertyChanged(MainActivityModel.PROPERTY_CONFIGURATION_LOADING_IN_PROGRESS);
    verify(propertyChangedListener, times(1)).onPropertyChanged(MainActivityModel.PROPERTY_LOAD_CONFIGURATION_FILE_BUTTON);
}