@Test
public void testEqualsConsistentTime() {

    testEquals(new EqualityChecker() {
        @Override
        public boolean equals(byte[] bytes1, int startPos1, byte[] bytes2, int startPos2, int length) {
            return PlatformDependent.equalsConstantTime(bytes1, startPos1, bytes2, startPos2, length) != 0;
        }
    });
}