### Question:
Validations { public static boolean isEmptyOrNull(String pattern) { return pattern == null || pattern.trim().equals(""); } private  Validations(); static boolean isEmptyOrNull(String pattern);  }### Answer:
@Test public void isEmptyOrNull() { assertTrue(Validations.isEmptyOrNull(null)); assertTrue(Validations.isEmptyOrNull("")); assertFalse(Validations.isEmptyOrNull("robe.io")); }