question: @ SuppressWarnings ( { "rawtypes" } ) public static void assertNotEmpty ( final Collection objs ) throws Exception { if ( objs == null ) { throw new AssertionFailedError ( "Collection is null" ) ; } if ( objs . isEmpty ( ) ) { throw new AssertionFailedError ( "Collection is empty" ) ; } }
target:  Test that a collection is not null or empty.