assertTrue(myLeafCtx == targetCtx.getReferencedByLeafRefCtxByName(foo("my-leaf")));
}
- private void assertLeafRef(final LeafRefContext leafRefToTest, final LeafRefPath expectedLeafRefPath) {
+ private static void assertLeafRef(final LeafRefContext leafRefToTest, final LeafRefPath expectedLeafRefPath) {
assertNotNull(leafRefToTest);
assertNotNull(expectedLeafRefPath);
assertTrue(leafRefToTest.getReferencedByChilds().isEmpty());