@Test public void testParseNodeShouldReturnEmptySetIfNodeTypeIsNotElementNode() { getChildNodes(); given(element.getNodeType()).willReturn(Node.COMMENT_NODE); Set<ResponseFormatterDescriptor> actual = underTest.parseNode(node, document); assertTrue(actual.isEmpty()); }
@Override public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) { int depth = 0; return parse(node, document, depth); }
TemplateDescriptorParser implements NodeParser<Set<ResponseFormatterDescriptor>> { @Override public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) { int depth = 0; return parse(node, document, depth); } }
TemplateDescriptorParser implements NodeParser<Set<ResponseFormatterDescriptor>> { @Override public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) { int depth = 0; return parse(node, document, depth); }  }
TemplateDescriptorParser implements NodeParser<Set<ResponseFormatterDescriptor>> { @Override public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) { int depth = 0; return parse(node, document, depth); }  @Override Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document); }
TemplateDescriptorParser implements NodeParser<Set<ResponseFormatterDescriptor>> { @Override public Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document) { int depth = 0; return parse(node, document, depth); }  @Override Set<ResponseFormatterDescriptor> parseNode(final Node node, final Document document);  }