@Override
    public Object answer(InvocationOnMock invocation) throws Throwable {
      Object evalOn = invocation.getArgument(0);
      if (evalOn instanceof Portfolio) {
        Portfolio p = (Portfolio) evalOn;
        return p.indexKey;
      }
      return null;
    }
Remove all should still remove all portfolios provided, even if there are more provided then
contained
geode-core/src/test/java/org/apache/geode/cache/query/internal/index/HashIndexSetJUnitTest.java