@Test public void getFirstMatchingChildNode_withUnmatchedAttribute_shouldNotFindNode() throws Exception { ArrayList<String> testList = new ArrayList<String>(); testList.add("1999-10-"); Node resultNode = XmlUtils.getFirstMatchingChildNode(purchaseOrderNode, "aw:PurchaseOrder", "aw:OrderDate", testList); assertThat(resultNode).isNull(); }
static Node getFirstMatchingChildNode(final Node node, final String nodeName) { return getFirstMatchingChildNode(node, nodeName, null, null); }
XmlUtils { static Node getFirstMatchingChildNode(final Node node, final String nodeName) { return getFirstMatchingChildNode(node, nodeName, null, null); } }
XmlUtils { static Node getFirstMatchingChildNode(final Node node, final String nodeName) { return getFirstMatchingChildNode(node, nodeName, null, null); } private  XmlUtils(); }
XmlUtils { static Node getFirstMatchingChildNode(final Node node, final String nodeName) { return getFirstMatchingChildNode(node, nodeName, null, null); } private  XmlUtils();  }
XmlUtils { static Node getFirstMatchingChildNode(final Node node, final String nodeName) { return getFirstMatchingChildNode(node, nodeName, null, null); } private  XmlUtils();   }