@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 containsExactlyVarargInOrderFailure() {
    ImmutableMultimap<Integer, String> actual =
        ImmutableMultimap.of(3, "one", 3, "six", 3, "two", 4, "five", 4, "four");

    assertThat(actual).containsExactly(4, "four", 3, "six", 4, "five", 3, "two", 3, "one");
    expectFailureWhenTestingThat(actual)
        .containsExactly(4, "four", 3, "six", 4, "five", 3, "two", 3, "one")
        .inOrder();
    assertFailureKeys(
        "contents match, but order was wrong",
        "keys are not in order",
        "keys with out-of-order values",
        "---",
        "expected",
        "but was");
    assertFailureValue("keys with out-of-order values", "[4, 3]");
  }