@Test
    void requireThatNotChildrenAreMovedAwayFromLastAndChild() {
        checkReorder(
                and(feature("a").inSet("b"), feature("c").notInSet("d")),
                and(feature("c").notInSet("d"), feature("a").inSet("b")));

        checkReorder(
                and(feature("a").inSet("b"), feature("c").notInSet("d"), feature("e").notInSet("f")),
                and(feature("c").notInSet("d"), feature("e").notInSet("f"), feature("a").inSet("b")));
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/search/predicate/optimization/NotNodeReordererTest.java