static FakeServer server = new FakeServer();
@BeforeClass public static void oneTimeSetup() {
server.setUseCallingThread(true);
MetadataStore ms = new MetadataStore();
Schema s = new Schema();
s.setName("test");
FunctionMethod function = new FunctionMethod("foo", null, FunctionCategoryConstants.MISCELLANEOUS, PushDown.CANNOT_PUSHDOWN, TestLocalConnections.class.getName(), "blocking", new FunctionParameter[0], new FunctionParameter("result", DataTypeManager.DefaultDataTypes.INTEGER), true, FunctionMethod.Determinism.NONDETERMINISTIC);
s.addFunction(function);
ms.addSchema(s);
server.deployVDB("test", ms, new LinkedHashMap<String, Resource>());
}