Validate.notEmpty(coll, "MSG");
Validate.noNullElements(coll, "MSG"); fail("Expecting IllegalArgumentException");
    public void testNoNullElementsCollection2() {        List coll = new ArrayList();        coll.add("a");        coll.add("b");        Validate.noNullElements(coll, "MSG");        try {            Validate.noNullElements((Collection) null, "MSG");        } catch (IllegalArgumentException ex) {            assertEquals("The validated object is null", ex.getMessage());        }        coll.set(1, null);        try {            Validate.notEmpty(coll, "MSG");        } catch (IllegalArgumentException ex) {            assertEquals("MSG", ex.getMessage());        }    }