ActionConfigMatcher matcher = new ActionConfigMatcher(configs);
ActionConfig matched = matcher.match("/fooBar");
assertNotNull("ActionConfig should be matched", matched);
assertTrue("ActionConfig should have two action forward", matched.findForwardConfigs().length == 2);
assertTrue("ActionConfig should have two exception forward", matched.findExceptionConfigs().length == 2);
}
public void testCheckSubstitutionsMatch() {
ActionConfig[] configs = new ActionConfig[1];
ActionConfig mapping = buildActionConfig("/foo*");