@Test
public void testBuildClassEntryFamily() throws IOException {
MethodDatabase db = new MethodDatabase(Thread.currentThread().getContextClassLoader());
MethodDatabaseUtil.load(db, "nginx/clojure/wave/coroutine-method-db.txt");
ClassEntry ce = MethodDatabaseUtil.buildClassEntryFamily(db, "nginx/clojure/CatchTest");
assertEquals(MethodDatabase.SUSPEND_NONE, ce.check("testCatch", "()V"));
assertEquals(MethodDatabase.SUSPEND_NORMAL, ce.check("run", "()V"));
ClassEntry ifnce = MethodDatabaseUtil.buildClassEntryFamily(db, Type.getInternalName(MyAF.class));
assertEquals(MethodDatabase.SUSPEND_FAMILY, db.checkMethodSuspendType(Type.getInternalName(MyAF.class),"invoke()Ljava/lang/Object;", true));
}