while (!(good instanceof IncompleteDeploymentException) && good.getCause() != null)
good = good.getCause();
assertTrue(good instanceof IncompleteDeploymentException);
IncompleteDeploymentException ide = (IncompleteDeploymentException) good;
Map<String, Set<MissingDependency>> missing = ide.getIncompleteDeployments().getContextsMissingDependencies();
for (String deployment : missing.keySet())
{
if (deployment.indexOf(jbas4763Key) > -1)
return;
}