// no mappings added
assertNotNull(config.getMappings());
assertEquals(1, config.getMappings().size());
// validate mapping properties
UrlMapping mapping = config.getMappings().get(0);
assertEquals("singleConstantExpressionAction", mapping.getId());
assertEquals("/some/url", mapping.getPattern());
assertEquals("/view.jsf", mapping.getViewId());
assertEquals(true, mapping.isOutbound());
assertEquals(true, mapping.isOnPostback());
assertEquals(0, mapping.getQueryParams().size());
assertEquals(1, mapping.getActions().size());
assertEquals(0, mapping.getPathValidators().size());
// validate action
UrlAction action = mapping.getActions().get(0);
assertEquals(PhaseId.RESTORE_VIEW, action.getPhaseId());
// validate PrettyExpression
assertNotNull(action.getAction());
assertEquals(ConstantExpression.class, action.getAction().getClass());