@SuppressWarnings("rawtypes") public static void assertIsEmpty(final Collection objs) throws Exception {
  if ((objs != null) && !objs.isEmpty()) {
    throw new AssertionFailedError("Collection is empty");
  }
}

@ SuppressWarnings ( "rawtypes" ) public static void assertIsEmpty ( final Collection objs ) throws Exception { if ( ( objs != null ) && ! objs . isEmpty ( ) ) { throw new AssertionFailedError ( "Collection is empty" ) ; } }
test that a collection is not null or empty .
