@Test
public void testBrowseWithTime() {

    Multimap<K, V> expected = HashMultimap.create();
    L locator = Variables.register("locator", getLocator());
    record = Variables.register("record", getRecord(locator));
    for (int i = 0; i < TestData.getScaleCount(); i++) {
        K key = Variables.register("key", getKey());
        Set<V> values = populateRecord(record, locator, key);
        Variables.register("values", values);
        expected.putAll(key, values);
    }
    long timestamp = Time.now();
    for (int i = 0; i < TestData.getScaleCount(); i++) {
        K key = getKey();
        populateRecord(record, locator, key);
    }
    Assert.assertEquals(expected.asMap(),
            ((BrowsableRecord<L, K, V>) record).browse(timestamp));
}