void () { configureByFile("/refactoring/makeMethodStatic/beforeInnerStaticClassUsed.java"); PsiElement element = TargetElementUtil.findTargetElement(getEditor(), TargetElementUtil.ELEMENT_NAME_ACCEPTED); assertTrue(element instanceof PsiMethod); assertFalse(MakeStaticUtil.isParameterNeeded((PsiMethod)element)); }