String (@NotNull PsiElement element) { final PsiMethodCallExpression call = (PsiMethodCallExpression)element; final PsiReferenceExpression methodExpression = call.getMethodExpression(); @NonNls final String fromMethodName = methodExpression.getReferenceName(); @NonNls final String toMethodName = getOppositeAssertMethodName(fromMethodName); return CommonQuickFixBundle.message("fix.replace.x.with.y", fromMethodName + "()", toMethodName + "()"); }