NLSSubstitution.setPrefix("key.");
    public void testFromTranslatedToSkipped() throws Exception {                String klazz =            "package test;\n" +            "public class Test {\n" +            "	private String str=Accessor.getString(\"key.0\"); //$NON-NLS-1$\n" +            "}\n";                 String accessorKlazz =            "package test;\n" +    		"public class Accessor {\n" +    		"	private static final String BUNDLE_NAME = \"test.test\";//$NON-NLS-1$\n" +    		"	public static String getString(String s) {\n" +    		"		return \"\";\n" +    		"	}\n" +    		"}\n";                IPackageFragment pack = fSourceFolder.createPackageFragment("test", false, null);        ICompilationUnit cu= pack.createCompilationUnit("Accessor.java", accessorKlazz, false, null);        cu= pack.createCompilationUnit("Test.java", klazz, false, null);                CompilationUnit astRoot= createAST(cu);        NLSSubstitution[] nlsSubstitutions = getSubstitutions(cu, astRoot);        NLSSubstitution.setPrefix("key.");        nlsSubstitutions[0].setValue("whatever");        nlsSubstitutions[0].setState(NLSSubstitution.INTERNALIZED);                String defaultSubst= NLSRefactoring.DEFAULT_SUBST_PATTERN;        TextChange change = (TextChange) NLSSourceModifier.create(cu, nlsSubstitutions, defaultSubst, pack, "Accessor", false);                Document doc = new Document(klazz);        change.getEdit().apply(doc);                assertEquals(                "package test;\n" +                "public class Test {\n" +                "	private String str=\"whatever\"; \n" +                "}\n",              	doc.get());    }