void (String valDefinition, String extraDefinition) { myFixture.configureByText("a.java", "import lombok.val;\n" + "abstract static class Test {\n" + " private void test() {\n" + " val my<caret>Var = " + valDefinition + "; \n" + " myVar.toString(); \n" + " } \n" + extraDefinition + "}\n"); }