Beispiel #1
0
        public void TestCallbackFailuresGlobal(UUnitTestContext testContext)
        {
            PlayFabHttp.ApiProcessingEventHandler += TestCallbackFailuresGlobal_OnGlobalEventHandler;

            var catalogRequest = new GetCatalogItemsRequest();

            clientApi.GetCatalogItems(catalogRequest,
                                      PlayFabUUnitUtils.ApiActionWrapper <GetCatalogItemsResult>(testContext, GetCatalogItemsCallback_Single),
                                      PlayFabUUnitUtils.ApiActionWrapper <PlayFabError>(testContext, SharedErrorCallback),
                                      testContext);
        }