+ verifyLeafListPredicate(cnSn);
+ }
+
+ private void verifyLeafListPredicate(final CompositeNode cnSn) throws URISyntaxException {
+ SimpleNode<?> lf11 = getSnWithInstanceIdentifierWhenLeafList(cnSn);
+ Object value = lf11.getValue();
+ assertTrue(value instanceof YangInstanceIdentifier);
+
+ YangInstanceIdentifier instanceIdentifier = (YangInstanceIdentifier) value;
+ Iterator<PathArgument> it = instanceIdentifier.getPathArguments().iterator();
+ String revisionDate = "2014-01-17";
+
+ assertEquals(TestUtils.buildQName("cont", "instance:identifier:module", revisionDate), it.next().getNodeType());
+ assertEquals(TestUtils.buildQName("cont1", "instance:identifier:module", revisionDate), it.next().getNodeType());
+
+ PathArgument arg = it.next();
+ assertFalse(it.hasNext());
+ assertEquals(TestUtils.buildQName("lflst11", "augment:module:leaf:list", "2014-01-27"), arg.getNodeType());
+
+ assertTrue(arg instanceof NodeWithValue);
+ assertEquals("lflst11_1", ((NodeWithValue) arg).getValue());
+