@Test
public void entries() throws Exception {

    multiMap.putAll(ImmutableListMultimap.of(
            "first", new TestEntity("1", "v1"),
            "second", new TestEntity("2", "v2"),
            "second", new TestEntity("3", "v3")
    ));
    final Collection<Map.Entry<String, TestEntity>> entries = multiMap.entries();
    assertThat(entries).hasSize(3);
    assertThat(entries).containsExactly(
            SimpleEntry.of("first", new TestEntity("1", "v1")),
            SimpleEntry.of("second", new TestEntity("2", "v2")),
            SimpleEntry.of("second", new TestEntity("3", "v3"))
    );
}