use of org.eclipse.collections.api.block.procedure.primitive.LongLongProcedure in project neo4j by neo4j.
the class LinearProbeLongLongHashMapTest method forEachKeyValue.
@Test
void forEachKeyValue() {
final LongLongProcedure consumer = mock(LongLongProcedure.class);
map.putAll(newWithKeysValues(0, 10, 1, 11, 2, 12));
map.forEachKeyValue(consumer);
verify(consumer).value(eq(0L), eq(10L));
verify(consumer).value(eq(1L), eq(11L));
verify(consumer).value(eq(2L), eq(12L));
verifyNoMoreInteractions(consumer);
}
Aggregations