// Now get the entity and check the values
GetServiceDetail gs = new GetServiceDetail();
gs.getServiceKey().add(serviceKey);
ServiceDetail sd = inquiry.getServiceDetail(gs);
List<BusinessService> bsOutList = sd.getBusinessService();
BusinessService bsOut = bsOutList.get(0);
assertEquals(bsIn.getServiceKey(), bsOut.getServiceKey());
TckValidator.checkNames(bsIn.getName(), bsOut.getName());
TckValidator.checkDescriptions(bsIn.getDescription(), bsOut.getDescription());
TckValidator.checkBindingTemplates(bsIn.getBindingTemplates(), bsOut.getBindingTemplates());
TckValidator.checkCategories(bsIn.getCategoryBag(), bsOut.getCategoryBag());
}
catch(Exception e) {
logger.error(e.getMessage(), e);
Assert.fail("No exception should be thrown.");
}