addAttribute("action", actionAsString);
addAttribute("type", contentType);
Map map = (Map) rule.startElement(dynamicProcessMock, elementName,
attributes);
rule.endElement(dynamicProcessMock, elementName, map);
Content content = new Content(contentType, contentAction);
assertEquals(Collections.singletonMap(contentType, content), map);
}