PatternModel { public List<String> getMatchRules() { return getRegexCreator().getMatchRules(); }  int getFoundIndex(); void setFoundIndex(int foundIndex); boolean isAutoAdjustFoundIndex(); boolean isBackwards(); void setBackwards(boolean backwards); boolean isWrapping(); void setWrapping(boolean wrapping); void setIncremental(boolean incremental); boolean isIncremental(); boolean isCaseSensitive(); void setCaseSensitive(boolean caseSensitive); Pattern getPattern(); String getRawText(); void setRawText(String findText); boolean isEmpty(); void addPropertyChangeListener(PropertyChangeListener l); void removePropertyChangeListener(PropertyChangeListener l); void setRegexCreatorKey(String mode); String getRegexCreatorKey(); void setRegexCreator(RegexCreator regexCreator); void setMatchRule(String category); String getMatchRule(); List<String> getMatchRules(); static final String SEARCH_PREFIX; static final String REGEX_UNCHANGED; static final String REGEX_ANCHORED; static final String REGEX_WILDCARD; static final String REGEX_MATCH_RULES; static final String MATCH_RULE_CONTAINS; static final String MATCH_RULE_EQUALS; static final String MATCH_RULE_ENDSWITH; static final String MATCH_RULE_STARTSWITH; static final String MATCH_BACKWARDS_ACTION_COMMAND; static final String MATCH_WRAP_ACTION_COMMAND; static final String MATCH_CASE_ACTION_COMMAND; static final String MATCH_INCREMENTAL_ACTION_COMMAND; }
@Test public void testAvailableMatchRules() { PatternModel model = new PatternModel(); List<?> rules = model.getMatchRules(); assertNotNull("rules must not be null", rules); }