subs[i].generateKey(subs, "");
subs[i].generateKey(subs);
    public void testCheckInput() throws Exception {        ICompilationUnit cu = fHelper.getCu("/TestSetupProject/src1/p/WithStrings.java"); //$NON-NLS-1$        initDefaultValues(cu);        // add parameters parameter by parameter        NLSRefactoring refac = NLSRefactoring.create(cu, fHelper.fCodeGenerationSettings);        NLSSubstitution[] subs = refac.getSubstitutions();                for (int i = 0; i < subs.length; i++) {            subs[i].setState(NLSSubstitution.EXTERNALIZED);            subs[i].generateKey(subs, "");        }                       check(refac);        refac.setAccessorPackage(fAccessorPackage);        check(refac);        refac.setPropertyFilePath(fPropertyFilePath);        check(refac);        refac.setAccessorClassName(fAccessorClassName);        check(refac);        refac.setSubstitutionPattern(fSubstitutionPattern);        refac.setSubstitutionPattern("test${key}"); //$NON-NLS-1$        RefactoringStatus res = refac.checkFinalConditions(fHelper.fNpm);        assertTrue("all parameters specified but checkInput not ok", res.isOK()); //$NON-NLS-1$    }