void () { doTest( """ class X{ public static int atLeast(int min, int actual, String varName) { if (actual < min) throw new IllegalArgumentException('\\'' + varName + " must be at least " + min + ": " + actual); return actual; } public byte[] getMemory(int address, int length) { atLeast(0, address, "address"); atLeast(1, length, "length"); return new byte[length]; } } """); }