MethodDatabase db = new MethodDatabase(Thread.currentThread().getContextClassLoader());
MethodDatabaseUtil.load(db, "nginx/clojure/wave/test-coroutine-method-db.txt");
ClassEntry ce = db.getClasses().get("java/lang/Thread");
assertEquals(MethodDatabase.SUSPEND_BLOCKING, ce.check("sleep", "(J)V"));
assertEquals(MethodDatabase.SUSPEND_BLOCKING, ce.check("sleep", "(JI)V"));
assertEquals(MethodDatabase.SUSPEND_BLOCKING, ce.check("join", "()V"));
ce = db.getClasses().get("java/lang/Object");
assertEquals(MethodDatabase.SUSPEND_BLOCKING, ce.check("wait", "(J)V"));
assertEquals(MethodDatabase.SUSPEND_BLOCKING, ce.check("wait", "()V"));