Conditions { public static UnsupportedOperationException unimplemented() { return new UnsupportedOperationException("This feature is not currently implemented"); } Conditions(); static UnsupportedOperationException unimplemented(); static boolean notNull(Object value); static boolean notNull(Object value, String name); static boolean notEmptyOrNullFilled(List value); static boolean notEmptyOrNullFilled(List value, String name);  }
@Test void unimplemented() { assertThrows(UnsupportedOperationException.class, () -> { throw Conditions.unimplemented(); }); }