I really like using a real object rather than power mock here. But I think the issue is that this we apparently support multiple fixed id sizes - I see there is a byte and short test above. I think the code probably may work differently if the id can fit in an integer. So we probably need to use an object that fits in an integer.
[ Full content available at: https://github.com/apache/geode/pull/2990 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org