Record { protected Set<V> get(K key) { read.lock(); try { Set<V> values = present.get(key); return values != null ? values : emptyValues; } finally { read.unlock(); } } protected  Record(L locator, @Nullable K key); void append(Revision<L, K, V> revision); int cardinality(); @Override boolean equals(Object obj); long getVersion(); @Override int hashCode(); boolean isEmpty(); boolean isPartial(); @Override String toString();  }
@Test public void testGet() { L locator = getLocator(); K key = getKey(); record = getRecord(locator, key); Set<V> values = populateRecord(record, locator, key); Assert.assertEquals(values, record.get(key)); }