if (bInfos == null)
Assert.fail("No result from find business operation");
List<BusinessInfo> biList = bInfos.getBusinessInfo();
if (biList == null || biList.size() == 0)
Assert.fail("No result from find business operation");
BusinessInfo biOut = biList.get(0);
BusinessEntity beIn = (BusinessEntity)EntityCreator.buildFromDoc(TckBusiness.JOE_BUSINESS_XML, "org.uddi.api_v3");
assertEquals(beIn.getBusinessKey(), biOut.getBusinessKey());
TckValidator.checkNames(beIn.getName(), biOut.getName());
TckValidator.checkDescriptions(beIn.getDescription(), biOut.getDescription());
}
catch(Exception e) {
logger.error(e.getMessage(), e);
Assert.fail("No exception should be thrown.");
}