assertXpathEvaluatesTo("Test Component", "/replace", result);
assertXpathEvaluatesTo("testId", "/replace/context/matcher/@contextNodeID", result);
}
public void testRenderWithWildcardMatcher() throws Exception {
ElementMatcher matcher = new WildcardMatcher("testId");
AjaxAction action = new ReplaceElementAction(matcher, new SimpleText("Test Component"));
String result = action.render();
System.out.println(result);