@Test public void testParseNodeShouldReturnEmptySetIfNodeHasNoChildren() { given(node.getChildNodes()).willReturn(null); 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);  }