4 #include <objc/Protocol.h>
8 // Class Protocol is always a subclass of NSObject
10 testassert(objc_getClass("NSObject"));
12 Class cls = objc_getClass("Protocol");
13 testassert(class_getInstanceMethod(cls, sel_registerName("isProxy")));
14 testassert(class_getSuperclass(cls) == objc_getClass("NSObject"));