@Test public void testFileLookup() { StdTester tester = getTester(); tester.check(functionCall("file_lookup", resource("file_lookup_function/sample"), 1), true, "boolean"); tester.check(functionCall("file_lookup", resource("file_lookup_function/sample"), 6), false, "boolean"); tester.check(functionCall("file_lookup", resource("file_lookup_function/sample"), null), null, "boolean"); // TODO: Check behaviour consistency between platforms when file argument is null // tester.check(functionCall("file_lookup", null, 1), null, "boolean"); } }