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