@Test
public void testEntrySet() {

  FastMap<String, String> map = buildTestFastMap();
  Set<Map.Entry<String, String>> actual = map.entrySet();
  Collection<String> expectedKeys = Sets.newHashSetWithExpectedSize(3);
  expectedKeys.add("foo");
  expectedKeys.add("baz");
  expectedKeys.add("alpha");
  Collection<String> expectedValues = Sets.newHashSetWithExpectedSize(3);
  expectedValues.add("bar");
  expectedValues.add("bang");
  expectedValues.add("beta");
  assertEquals(3, actual.size());
  for (Map.Entry<String, String> entry : actual) {
    expectedKeys.remove(entry.getKey());
    expectedValues.remove(entry.getValue());
  }
  assertEquals(0, expectedKeys.size());
  assertEquals(0, expectedValues.size());
}