try {
// We opened a table, user map must contain exactly one entry:
final Multimap<String, String> umap = queue.poll(1, TimeUnit.SECONDS);
assertEquals(ImmutableSet.of(layoutId1), ImmutableSet.copyOf(umap.values()));
} finally {
table.release();
}
// Table is now closed, the user map should become empty:
assertEquals(ImmutableSetMultimap.<String, String>of(), queue.poll(1, TimeUnit.SECONDS));
} finally {
tracker.close();