IntroduceVariableSettings (Project project, Editor editor, PsiExpression expr, PsiExpression[] occurrences, TypeSelectorManagerImpl typeSelectorManager, boolean declareFinalIfAll, boolean anyAssignmentLHS, InputValidator validator, PsiElement anchor, final JavaReplaceChoice replaceChoice) { final PsiType[] types = typeSelectorManager.getTypesForAll(); assertEquals(types[0].getPresentableText(), "B", types[0].getPresentableText()); assertEquals(types[1].getPresentableText(), "A", types[1].getPresentableText()); return super.getSettings(project, editor, expr, occurrences, typeSelectorManager, declareFinalIfAll, anyAssignmentLHS, validator, anchor, replaceChoice); }