use of com.hazelcast.internal.util.hashslot.HashSlotCursor16byteKey in project hazelcast by hazelcast.
the class HashSlotArray16byteKeyNoValueTest method testCursor_valueAddress_withoutAdvance.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_valueAddress_withoutAdvance() {
HashSlotCursor16byteKey cursor = hsa.cursor();
cursor.valueAddress();
}
use of com.hazelcast.internal.util.hashslot.HashSlotCursor16byteKey in project hazelcast by hazelcast.
the class HashSlotArray16byteKeyNoValueTest method testCursor_key1_whenDisposed.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_key1_whenDisposed() {
HashSlotCursor16byteKey cursor = hsa.cursor();
hsa.dispose();
cursor.key1();
}
use of com.hazelcast.internal.util.hashslot.HashSlotCursor16byteKey in project hazelcast by hazelcast.
the class HashSlotArray16byteKeyImplTest method testCursor_advance_whenDisposed.
@Test(expected = AssertionError.class)
public void testCursor_advance_whenDisposed() {
HashSlotCursor16byteKey cursor = hsa.cursor();
hsa.dispose();
cursor.advance();
}
Aggregations