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"));