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