class Assertion {

    public static <T> void notNull(T argument, String format, Object... args) {
        if (argument == null) {
            throw new InvalidArgumentException(String.format(format, args) + " cannot be null");
        }
    }

}