void (@NotNull T configuration, @NotNull PsiElement elementToRightClickOn) { super.checkConfiguration(configuration, elementToRightClickOn); Assert.assertThat("Wrong name generated", configuration.getName(), Matchers.containsString("TheTest")); Assert.assertThat("Bad target generated", configuration.getTarget().getTarget(), Matchers.endsWith("TheTest")); myFixture.renameElementAtCaret("FooTest"); Assert.assertThat("Name not renamed", configuration.getName(), Matchers.containsString("FooTest")); }