void (@NotNull String gradleDependency, @NotNull String mavenDependency) { configureFromFileText("pom.xml", mavenDependency); selectWholeFile(); performCut(); configureGradleFile(); performPaste(); checkResultByText("dependencies {\n" + " " + gradleDependency + "\n" + "}"); }