if(unresolvedDubBundle.hasErrors()) {
// Check that we did not attempt to call dub describe on a manifest with errors
assertTrue(unresolvedDubBundle == dubBundle);
}
DubBundleException error = dubBundle.getError();
if(error != null) {
expMainBundle.checkBundleDescription(unresolvedDubBundle, false);
testDubContainerUnresolved(project, expMainBundle, true);
IMarker errorMarker = assertNotNull(getDubErrorMarker(project));
assertTrue(errorMarker.getAttribute(IMarker.MESSAGE, "").startsWith(error.getMessage()));
assertEquals(errorMarker.getAttribute(IMarker.SEVERITY), IMarker.SEVERITY_ERROR);
} else {
checkFullyResolvedCode(project, dubBundle, expMainBundle);
}