assertXpathEvaluatesTo("testId1,testId2", "/replace/context/matcher/@contextNodeID", result);
}
public void testRenderWithSelectorMatcher() throws Exception {
ElementMatcher matcher = new SelectorMatcher(Arrays.asList("#testId1", "#testId2"));
AjaxAction action = new ReplaceElementAction(matcher, new SimpleText("Test Component"));
String result = action.render();
System.out.println(result);
assertXpathEvaluatesTo("Test Component", "/replace", result);
assertXpathEvaluatesTo("selector", "/replace/context/matcher/@matchMode", result);