public void assertContains(Description description, Map<?, ?> actual, MapEntry[] entries) {
    isNotEmptyOrNull(entries);
    assertNotNull(description, actual);
    Set<MapEntry> notFound = new LinkedHashSet<MapEntry>();
    for (MapEntry entry : entries) {
      if (!containsEntry(actual, entry)) {
        notFound.add(entry);
      }
    }
    if (!notFound.isEmpty()) {
      throw failures.failure(description, shouldContain(actual, entries, notFound));
    }
  }
public void assertContains(Description description, Map<?, ?> actual, MapEntry[] entries) {
    isNotEmptyOrNull(entries);
    assertNotNull(description, actual);
    Set<MapEntry> notFound = new LinkedHashSet<MapEntry>();
    for (MapEntry entry : entries) {
      if (!containsEntry(actual, entry)) {
        notFound.add(entry);
      }
    }
    if (!notFound.isEmpty()) {
      throw failures.failure(description, shouldContain(actual, entries, notFound));
    }
  }
public void assertContains ( Description description , Map < ? , ? > actual , MapEntry [ ] entries ) { isNotEmptyOrNull ( entries ) ; assertNotNull ( description , actual ) ; Set < MapEntry > notFound = new LinkedHashSet < MapEntry > ( ) ; for ( MapEntry entry : entries ) { if ( ! containsEntry ( actual , entry ) ) { notFound . add ( entry ) ; } } if ( ! notFound . isEmpty ( ) ) { throw failures . failure ( description , shouldContain ( actual , entries , notFound ) ) ; } }
Asserts that the given {@code Map} contains the given entries, in any order.

@param description contains information about the assertion.
@param actual the given {@code Map}.
@param entries the entries that are expected to be in the given {@code Map}.
@throws NullPointerException if the array of entries is {@code null}.
@throws IllegalArgumentException if the array of entries is empty.
@throws NullPointerException if any of the entries in the given array is {@code null}.
@throws AssertionError if the given {@code Map} is {@code null}.
@throws AssertionError if the given {@code Map} does not contain the given entries.
Asserts that the given { @code Map } contains the given entries in any order .