void (Collection<? extends PsiType> suggestedTypes, final String... expectedTypes) { assertEquals("Suggested types: " + suggestedTypes.toString(), expectedTypes.length, suggestedTypes.size()); assertTrue(ContainerUtil.map(suggestedTypes, PsiType::getCanonicalText).containsAll(Arrays.asList(expectedTypes))); }