ComponentFactory { public static InquiryView getInquiryView() { return (InquiryView) getNewComponentInstance(INQUIRY_VIEW); }  static Component getNewInstanceForRefresh(ViewPostMetadata viewPostMetadata, String id); static Component getNewComponentInstance(String beanId); static TextControl getTextControl(); static TextAreaControl getTextAreaControl(); static CheckboxControl getCheckboxControl(); static HiddenControl getHiddenControl(); static SelectControl getSelectControl(); static CheckboxGroupControl getCheckboxGroupControl(); static CheckboxGroupControl getCheckboxGroupControlHorizontal(); static RadioGroupControl getRadioGroupControl(); static RadioGroupControl getRadioGroupControlHorizontal(); static FileControl getFileControl(); static TextControl getDateControl(); static UserControl getUserControl(); static GroupControl getGroupControl(); static DataField getDataField(); static DataField getDataField(String propertyName, String label); static InputField getInputField(); static InputField getInputField(String propertyName, String label); static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType); static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType,
            String defaultValue); static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType,
            Class<? extends KeyValuesFinder> optionsFinderClass); static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType,
            List<KeyValue> options); static InputField getInputField(String propertyName, String label, UifConstants.ControlType controlType,
            int size, int maxLength, int minLength); static InputField translateRemotableField(RemotableAttributeField remotableField); static List<InputField> translateRemotableFields(List<RemotableAttributeField> remotableFields); static ValidationMessages getErrorsField(); static Action getAction(); static Action getSecondaryAction(); static Action getActionLink(); static LinkField getLinkField(); static Iframe getIframe(); static ImageField getImageField(); static Image getImage(); static SpaceField getSpaceField(); static GenericField getGenericField(); static Label getLabel(); static Message getMessage(); static MessageField getMessageField(); static MessageField getColGroupingField(); static FieldGroup getFieldGroup(); static FieldGroup getHorizontalFieldGroup(); static Group getGroup(); static Group getVerticalBoxGroup(); static Group getHorizontalBoxGroup(); static Group getVerticalBoxSection(); static Group getHorizontalBoxSection(); static PageGroup getPageGroup(); static Group getGroupGridLayout(); static Group getGroupWithDisclosureGridLayout(); static Group getGroupBodyOnly(); static Group getGroupGridBodyOnly(); static TabGroup getTabGroup(); static TabNavigationGroup getNavigationGroup(); static TreeGroup getTreeGroup(); static LinkGroup getLinkGroup(); static CollectionGroup getCollectionGroup(); static CollectionGroup getCollectionWithDisclosureGroup(); static CollectionGroup getCollectionGroupTableLayout(); static CollectionGroup getCollectionWithDisclosureGroupTableLayout(); static CollectionGroup getListGroup(); static Header getHeader(); static Group getFooter(); static Group getFooterSaveCloseCancel(); static Action getHelpAction(); static Message getConstraintMessage(); static Message getInstructionalMessage(); static Header getImageCaptionHeader(); static Message getImageCutlineMessage(); static LightBox getLightBox(); static QuickFinder getQuickFinder(); static Inquiry getInquiry(); static DialogGroup getSessionTimeoutWarningDialog(); static DialogGroup getSessionTimeoutDialog(); static DialogGroup getYesNoDialog(); static UrlInfo getUrlInfo(); static InquiryView getInquiryView(); static LookupView getLookupView(); static LookupInputField getLookupCriteriaInputField(); static LookupInputField getLookupCriteriaActiveIndicatorInputField(); static final String TEXT_CONTROL; static final String CHECKBOX_CONTROL; static final String HIDDEN_CONTROL; static final String TEXTAREA_CONTROL; static final String SELECT_CONTROL; static final String CHECKBOX_CONVERTED_RADIO_CONTROL; static final String CHECKBOX_GROUP_CONTROL; static final String CHECKBOX_GROUP_CONTROL_HORIZONTAL; static final String RADIO_GROUP_CONTROL; static final String RADIO_GROUP_CONTROL_HORIZONTAL; static final String FILE_CONTROL; static final String DATE_CONTROL; static final String USER_CONTROL; static final String GROUP_CONTROL; static final String DATA_FIELD; static final String INPUT_FIELD; static final String LOOKUP_ACTIVE_INPUT_FIELD; static final String LOOKUP_INPUT_FIELD; static final String ERRORS_FIELD; static final String ACTION; static final String SECONDARY_ACTION; static final String ACTION_LINK; static final String LINK_FIELD; static final String IFRAME; static final String IMAGE_FIELD; static final String SPACE_FIELD; static final String GENERIC_FIELD; static final String IMAGE; static final String LABEL; static final String MESSAGE; static final String MESSAGE_FIELD; static final String COLLECTION_GROUPING_FIELD; static final String FIELD_GROUP; static final String HORIZONTAL_FIELD_GROUP; static final String GROUP; static final String VERTICAL_BOX_GROUP; static final String HORIZONTAL_BOX_GROUP; static final String VERTICAL_BOX_SECTION; static final String HORIZONTAL_BOX_SECTION; static final String PAGE_GROUP; static final String GROUP_GRID_LAYOUT; static final String GROUP_WITH_DISCLOSURE_GRID_LAYOUT; static final String GROUP_BODY_ONLY; static final String GROUP_GRID_BODY_ONLY; static final String TAB_GROUP; static final String NAVIGATION_GROUP; static final String TREE_GROUP; static final String LINK_GROUP; static final String DIALOG_GROUP; static final String COLLECTION_GROUP; static final String COLLECTION_WITH_DISCLOSURE_GROUP; static final String COLLECTION_GROUP_TABLE_LAYOUT; static final String COLLECTION_WITH_DISCLOSURE_GROUP_TABLE_LAYOUT; static final String LIST_GROUP; static final String HEADER; static final String FOOTER; static final String FOOTER_SAVECLOSECANCEL; static final String CONSTRAINT_MESSAGE; static final String INSTRUCTIONAL_MESSAGE; static final String HELP_ACTION; static final String IMAGE_CAPTION_HEADER; static final String IMAGE_CUTLINE_MESSAGE; static final String LIGHTBOX; static final String QUICKFINDER; static final String INQUIRY; static final String ADD_BLANK_LINE_ACTION; static final String ADD_WITH_DIALOG_ACTION; static final String ADD_LINE_DIALOG; static final String DIALOG_DISMISS_ACTION; static final String EDIT_LINE_DIALOG; static final String EDIT_LINE_IN_DIALOG_ACTION; static final String EDIT_LINE_IN_DIALOG_SAVE_ACTION; static final String SESSION_TIMEOUT_WARNING_DIALOG; static final String SESSION_TIMEOUT_DIALOG; static final String YES_NO_DIALOG; static final String INQUIRY_VIEW; static final String LOOKUP_VIEW; static final String LOOKUP_CRITERIA_FIELD; static final String LOOKUP_CRITERIA_ACTIVE_INDICATOR_FIELD; static final String URL_INFO; }
@Test public void testInquiry() throws Throwable { try { InquiryView inquiryView = ComponentFactory.getInquiryView(); assertEquals("uif-formView", inquiryView.getCssClasses().get(0)); } catch (NullPointerException e) { Assume.assumeNoException("Missing required testing resources, skipping", e); } }