Bug4501Test should require the node to be present before accessing
its body.
Change-Id: Iec99007f73aae3735a1baba94f1944abaed20c34
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
assertTrue(transformedInput instanceof UnkeyedListNode);
final UnkeyedListNode hop = (UnkeyedListNode) transformedInput;
- final DataContainerChild lrsBits = hop.childAt(0).childByArg(
+ final DataContainerChild lrsBits = hop.childAt(0).getChildByArg(
NodeIdentifier.create(QName.create("foo", "lrs-bits")));
assertEquals(ImmutableSet.of("lookup", "rloc-probe", "strict"), lrsBits.body());