/**
* Verify all core constants are present.
*/
public void testCompletionVariantsConstantName() throws Throwable {
final StrutsCoreConstantContributor coreConstantContributor = new StrutsCoreConstantContributor();
final List<StrutsConstant> constants = coreConstantContributor.getStrutsConstantDefinitions(myModule);
final String[] variants = ContainerUtil.map2Array(constants, String.class, new Function<StrutsConstant, String>() {
@Override
public String fun(final StrutsConstant strutsConstant) {
return strutsConstant.getName();
}