FillTheFormDialogModel { public int getExpandedDialogWidth() { return expandedDialogWidth; } FillTheFormDialogModel(FillTheFormDialogModelHelper helper); void setActionCallbacks(ActionCallbacks actionCallbacks); void onConfigurationItemClicked(int position); void onConfigurationItemLongClicked(int position); void onRemoveItemButtonClicked(int position); void setProfiles(List<String> profiles); void selectNextProfile(); List<ConfigurationItem> getSortedConfigurationItems(); int getItemsCount(); @ViewType int getSortedConfigItemType(int position); ConfigurationItem getConfigurationItem(int position); void setDialogPosition(int x, int y); int getDialogPositionX(); int getDialogPositionY(); void onActionMove(float x, float y); void onActionUp(); void setInitialTouchEvent(float x, float y); void setInitialDialogPosition(int x, int y); void setScreenDimensions(int screenWidth, int screenHeight); void setStatusBarHeight(int statusBarHeight); void setExpandedDialogDimensions(int expandedDialogWidth, int expandedDialogHeight); int getExpandedDialogWidth(); int getExpandedDialogHeight(); void setNormalDialogDimensions(int normalDialogWidth, int normalDialogHeight); int getNormalDialogWidth(); int getNormalDialogHeight(); void showDialog(@EventType int modelEventType, List<ConfigurationItem> selectedConfigurationItems); boolean isDialogVisible(); void hideDialog(); boolean isDialogExpanded(); void onCloseButtonClicked(); void onMinimizeButtonClicked(); void onOpenFillTheFormAppButtonClicked(); boolean isExpandIconVisible(); void toggleFastMode(); void setFastModeEnabled(boolean enabled); boolean isFastModeEnabled(); void setPropertyChangedListener(PropertyChangedListener propertyChangedListener); static final int EVENT_TYPE_UNKNOWN; static final int EVENT_TYPE_VIEW_LONG_CLICKED; static final int EVENT_TYPE_VIEW_CLICKED; static final int EVENT_TYPE_VIEW_FOCUSED; static final int VIEW_TYPE_SELECTED_ITEM; static final int VIEW_TYPE_NORMAL_ITEM; static final int VIEW_TYPE_REMOVABLE_ITEM; static final String PROPERTY_EXPAND_ICON; static final String PROPERTY_EXPAND_ICON_FAST_MODE; static final String PROPERTY_DIALOG_VISIBILITY; static final String PROPERTY_DIALOG_EXPANDED; static final String PROPERTY_DIALOG_POSITION; static final String PROPERTY_DIALOG_INITIAL_POSITION; static final String PROPERTY_FAST_MODE_BUTTON_ICON; static final String PROPERTY_DATA_SET; static final String PROPERTY_DATA_SET_SCROLL_POSITION; }
@Test public void testGetExpandedDialogWidth() throws Exception { assertEquals(EXPANDED_DIALOG_WIDTH_PX, model.getExpandedDialogWidth()); }