Integer getInvocationsAmount() {
      return equalsInvocations.get();
    }
Arbitrary Test class (equals method can not be mocked).
geode-core/src/test/java/org/apache/geode/cache/query/internal/types/TypeUtilsJUnitTest.java