public void assertNotEmpty(Description description, Map<?, ?> actual) {
    assertNotNull(description, actual);
    if (actual.isEmpty()) {
      throw failures.failure(description, shouldNotBeEmpty());
    }
  }
public void assertNotEmpty(Description description, Map<?, ?> actual) {
    assertNotNull(description, actual);
    if (actual.isEmpty()) {
      throw failures.failure(description, shouldNotBeEmpty());
    }
  }
public void assertNotEmpty ( Description description , Map < ? , ? > actual ) { assertNotNull ( description , actual ) ; if ( actual . isEmpty ( ) ) { throw failures . failure ( description , shouldNotBeEmpty ( ) ) ; } }
Asserts that the given {@code Map} is not empty.

@param description contains information about the assertion.
@param actual the given {@code Map}.
@throws AssertionError if the given {@code Map} is {@code null}.
@throws AssertionError if the given {@code Map} is empty.
Asserts that the given { @code Map } is not empty .