void () { configureByFile("SwitchEnumLabel.java"); //first B is enum Field, second B is class. They have different presentations and handlers assertEquals("[A, B, C, null, B, Object]", ContainerUtil.map(myItems, LookupElement::getLookupString).toString()); }