defElement = PackageNamespace.createPartialDefUnits(array("pack", "sub"), new ModuleProxy("modA", null));
assertEquals(TextUI.getLabelForHoverSignature(defElement), "pack");
assertEquals(DeeElementLabelProvider.getLabelForContentAssistPopup(defElement), "pack");
DefUnitSearch search = new DefUnitSearch("int", null, -1, true, new NullModuleResolver());
ReferenceResolver.findDefUnitInScope(LanguageIntrinsics.D2_063_intrinsics.primitivesScope, search);
defElement = search.getMatchedElements().iterator().next();
assertEquals(TextUI.getLabelForHoverSignature(defElement), "int");
assertEquals(DeeElementLabelProvider.getLabelForContentAssistPopup(defElement), "int");
}