use of org.onosproject.store.atomix.primitives.impl.MapValue.Digest in project onos by opennetworkinglab.
the class MapValueTest method testDigest.
@Test
public void testDigest() {
Timestamp ts = new LogicalTimestamp(10);
MapValue<String> mv = new MapValue<>("foo", ts);
Digest actual = mv.digest();
Digest expected = new MapValue.Digest(ts, false);
assertEquals(actual, expected);
}
Aggregations