void () { final PsiReference ref = configureByFile(getTestName(true)+"/"+getTestName(false) + ".groovy"); final PsiElement resolved = ref.resolve(); assertNotNull(resolved); assertInstanceOf(resolved, GrLabeledStatement.class); }