@CanIgnoreReturnValue
  @SuppressWarnings("deprecation") // TODO(b/134064106): design an alternative to no-arg check()
  public final Ordered containsExactly() {
    return check().about(iterableEntries()).that(checkNotNull(actual).entries()).containsExactly();
  }
@Test
  public void containsExactlyVarargRespectsDuplicates() {
    ImmutableListMultimap<Integer, String> actual =
        ImmutableListMultimap.of(3, "one", 3, "two", 3, "one", 4, "five", 4, "five");

    assertThat(actual).containsExactly(3, "two", 4, "five", 3, "one", 4, "five", 3, "one");
  }