if (busDetail == null)
Assert.fail("No result from getSubscriptionResults operation");
List<BusinessEntity> beList = busDetail.getBusinessEntity();
if (beList == null || beList.size() == 0)
Assert.fail("No result from getSubscriptionResults operation");
BusinessEntity beOut = beList.get(0);
BusinessEntity beIn = (BusinessEntity)EntityCreator.buildFromDoc(TckBusiness.SAM_BUSINESS_XML, "org.uddi.api_v3");
assertEquals(beIn.getBusinessKey(), beOut.getBusinessKey());
TckValidator.checkNames(beIn.getName(), beOut.getName());
TckValidator.checkDescriptions(beIn.getDescription(), beOut.getDescription());
TckValidator.checkDiscoveryUrls(beIn.getDiscoveryURLs(), beOut.getDiscoveryURLs());
TckValidator.checkContacts(beIn.getContacts(), beOut.getContacts());
TckValidator.checkCategories(beIn.getCategoryBag(), beOut.getCategoryBag());
List<KeyBag> keyBagList = result.getKeyBag();
if (keyBagList == null || keyBagList.size() == 0)
Assert.fail("No keyBag from SamSyndicator getSubscriptionResults operation");
KeyBag keyBag = keyBagList.get(0);