tckBusiness.saveBusinesses(authInfoTom, TOM_BUSINESS_XML, TOM_BUSINESS_KEY, 1);
try {
int size = 0;
BusinessList bl = null;
FindBusiness fbb = new FindBusiness();
TModelBag tmb = new TModelBag();
tmb.getTModelKey().add(TOM_PUBLISHER_TMODEL01_KEY);
fbb.setTModelBag(tmb);
bl = inquiry.findBusiness(fbb);
size = bl.getBusinessInfos().getBusinessInfo().size();
if (size != 1) {
Assert.fail("Should have found one entry on FindBusiness with TModelBag, "
+ "found " + size);
} else {
List<BusinessInfo> biList = bl.getBusinessInfos().getBusinessInfo();
if (biList.get(0).getServiceInfos().getServiceInfo().size() != 1) {
Assert.fail("Should have found only one ServiceInfo");
} else {
List<ServiceInfo> siList = biList.get(0).getServiceInfos().getServiceInfo();
ServiceInfo si = siList.get(0);