Lines Matching refs:asMap
69 assertTrue(cache.asMap().containsKey(key));
70 assertTrue(cache.asMap().containsValue(value));
80 assertFalse(cache.asMap().isEmpty());
83 assertTrue(cache.asMap().isEmpty());
84 assertFalse(cache.asMap().containsKey(key));
85 assertFalse(cache.asMap().containsValue(value));
97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
98 ASSERT.that(cache.asMap().values()).hasContentsAnyOrder(value1, value2);
100 cache.asMap().entrySet());
113 assertFalse(cache.asMap().containsKey(key1));
114 assertTrue(cache.asMap().containsKey(key2));
116 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet());
117 ASSERT.that(cache.asMap().values()).hasContentsAnyOrder(value2);
118 assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet());