assertXpathEvaluatesTo("plain", "/append-as-first-child/context/matcher/@matchMode", result);
assertXpathEvaluatesTo("testId1,testId2", "/append-as-first-child/context/matcher/@contextNodeID", result);
}
public void testRenderWithWildcardMatcher() throws Exception {
ElementMatcher matcher = new WildcardMatcher("testId");
AjaxAction action = new AppendAsFirstContentAction(matcher, Arrays.asList(new Component[]{new TaggedText("Test Component 1", TaggedText.Tag.DIV), new TaggedText("Test Component 2", TaggedText.Tag.DIV)}));
String result = action.render();
System.out.println(result);