kProxyObjectManagerIID,
NS_GET_IID(nsIProxyObjectManager),
void TestCase_nsISupports(void *arg){    ArgsStruct *argsStruct = (ArgsStruct*) arg;    nsIProxyObjectManager*  manager;        nsServiceManager::GetService( NS_XPCOMPROXY_PROGID,                                   kProxyObjectManagerIID,                                  (nsISupports **)&manager);        PR_ASSERT(manager);    nsITestProxy         *proxyObject;    nsTestXPCFoo*         foo   = new nsTestXPCFoo();        PR_ASSERT(foo);     manager->GetProxyObject(argsStruct->queue, nsITestProxy::GetIID(), foo, PROXY_SYNC, (void**)&proxyObject);        if (proxyObject != nsnull)    {           nsISupports *bISupports = nsnull, *cISupports = nsnull;                proxyObject->Test3(foo, &bISupports);        proxyObject->Test3(bISupports, &cISupports);                nsITestProxy *test;        bISupports->QueryInterface(nsITestProxy::GetIID(), (void**)&test);                test->Test2();        NS_RELEASE(foo);        NS_RELEASE(proxyObject);    }}