JGDI jgdi = createJGDI();
try {
QHostOptions qhostOptions = new QHostOptions();
List<ExecHost> ehList = jgdi.getRealExecHostList();
for (ExecHost eh : ehList) {
HostFilter hostFilter = new HostFilter();
hostFilter.addHost(eh.getName());
qhostOptions.setHostFilter(hostFilter);
QHostResult res = jgdi.execQHost(qhostOptions);
printResult(res);
Set<String> hostNames = res.getHostNames();
assertTrue("host " + eh.getName() + " not found", hostNames.contains(eh.getName()));