void (@NotNull Project project, @NotNull PsiElement methodNameIdentifier, @NotNull ModPsiUpdater updater) { final PsiElement parent = methodNameIdentifier.getParent(); if (parent == null) { return; } final PsiMethodCallExpression callExpression = (PsiMethodCallExpression)parent.getParent(); if (callExpression == null) { return; } final AssertHint hint = createAssertHint(callExpression); if (hint == null) { return; } final PsiExpression expectedArgument = hint.getExpected(); final PsiExpression actualArgument = hint.getActual(); final PsiElement copy = expectedArgument.copy(); expectedArgument.replace(actualArgument); actualArgument.replace(copy); }