assertEquals(ImmutableSet.of("a"), lookup.find("extrafoo", "pqr"));
assertEquals(ImmutableSet.of(), lookup.find("pqr", "foo"));
withoutIndex = System.nanoTime() - withoutIndex;
// ... then see how adding an index affects the code
IndexHook p = new PropertyIndexDiff(builder);
after.compareAgainstBaseState(before, p);
p.apply();
p.close();
lookup = new PropertyIndexLookup(builder.getNodeState());
long withIndex = System.nanoTime();
assertEquals(ImmutableSet.of("a", "b"), lookup.find("foo", "abc"));
assertEquals(ImmutableSet.of("b"), lookup.find("foo", "def"));