@Contract("null -> fail")
  public static <T> T notNull(T obj) {
    return notNull(obj, "argument is null");
  }
Assertions for use within Spock code. Failures indicate internal errors.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/util/Assert.java