com.aventstack.extentreports.util.Assert Maven / Gradle / Ivy
package com.aventstack.extentreports.util;
public class Assert {
public static void notNull(Object o, String message) {
if (o == null) {
throw new IllegalArgumentException(message);
}
}
public static void notEmpty(String s, String message) {
if (s == null || s.isEmpty()) {
throw new IllegalArgumentException(message);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy