When collection is null: - Assert.isTrue(collection.size() > 0, message) will throw NullPointerException. - Assert.notEmpty(collection, message) will throw IllegalArgumentException.