private static void testEmptyCollMutatorsAlwaysThrow(Collection<Integer> c){
  if (!c.isEmpty()) {
    fail("collection is not empty");
  }
  THROWS(UnsupportedOperationException.class,null);
}

private static void testEmptyCollMutatorsAlwaysThrow ( Collection < Integer > c ) { if ( ! c . isEmpty ( ) ) { fail ( "collection is not empty" ) ; } THROWS ( UnsupportedOperationException . class , null ) ; }
test that calling a mutator always throws uoe , even if the mutator wouldn ' t actually do anything on an empty collection .
