MainActivityModel implements Parcelable { public List<String> getLoadedPackageNames() { return loadedPackageNames; } MainActivityModel(); @SuppressWarnings("WeakerAccess") protected  MainActivityModel(Parcel in); boolean isPermissionsHeaderVisible(); void onEnableSystemAlertWindowContainerButtonClicked(); void onEnableReadExternalStorageButtonClicked(); void setSystemAlertWindowPermissionEnabled(boolean enabled); void setReadExternalStorageEnabled(boolean enabled); boolean isSystemAlertWindowContainerVisible(); boolean isReadExternalStorageContainerVisible(); void checkIfLoadingOfConfigurationFileIsAllowed(); boolean isLoadConfigurationFileContainerVisible(); void onLoadConfigurationFileButtonClicked(); void onSelectConfigurationFileButtonClicked(); String getConfigurationFilePath(); String getConfigurationFileName(); void setConfigurationFileAttributes(String configurationFilePath, String configurationFileName); void saveConfigurationFileAttributes(); boolean isConfigurationLoadingInProgress(); void onEnableAccessibilityServiceButtonClicked(); void setAccessibilityServiceEnabled(boolean enabled); boolean isAccessibilityServiceContainerVisible(); List<String> getLoadedPackageNames(); void onPackageNamesLoaded(List<String> loadedPackageNames); boolean isLoadedPackageNamesListVisible(); boolean isLoadedPackageNamesContainerVisible(); void setPropertyChangedListener(PropertyChangedListener propertyChangedListener); boolean isLoadedPackageNamesEmptyVisible(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final String PROPERTY_PERMISSIONS_HEADER; static final String PROPERTY_SYSTEM_ALERT_WINDOW_CONTAINER; static final String PROPERTY_SYSTEM_ALERT_WINDOW_PERMISSION; static final String PROPERTY_READ_EXTERNAL_STORAGE_CONTAINER; static final String PROPERTY_READ_EXTERNAL_STORAGE_PERMISSION; static final String PROPERTY_LOAD_CONFIGURATION_FILE_CONTAINER; static final String PROPERTY_LOAD_CONFIGURATION_FILE_BUTTON; static final String PROPERTY_SELECT_CONFIGURATION_FILE_BUTTON; static final String PROPERTY_CONFIGURATION_FILE_ATTRIBUTES; static final String PROPERTY_SAVE_CONFIGURATION_FILE_ATTRIBUTES; static final String PROPERTY_CONFIGURATION_LOADING_IN_PROGRESS; static final String PROPERTY_ACCESSIBILITY_SERVICE_CONTAINER; static final String PROPERTY_ACCESSIBILITY_SERVICE_BUTTON; static final String PROPERTY_LOADED_PACKAGE_NAMES_CONTAINER; static final String PROPERTY_LOADED_PACKAGE_NAMES_EMPTY; static final String PROPERTY_LOADED_PACKAGE_NAMES_LIST; static final Creator<MainActivityModel> CREATOR; }
@Test public void testGetLoadedPackageNamesShouldReturnNull() throws Exception { assertEquals(null, model.getLoadedPackageNames()); }