NLSHolder nlsHolder = NLSHolder.create(cu);
NLSHolder nlsHolder = NLSHolder.create(cu, new NLSInfo(cu));
    public void testSubstitutionWithAccessor() throws Exception {        String klazz =            "package test;\n" +            "public class Test {" +            "	private String str=TestMessages.getString(\"Key.5\");//$NON-NLS-1$\n" +            "}\n";        IPackageFragment pack = fSourceFolder.createPackageFragment("test", false, null);                ICompilationUnit cu= pack.createCompilationUnit("Test.java", klazz, false, null);        pack.createCompilationUnit("TestMessages.java", ACCESSOR_KLAZZ, false, null);        NLSHolder nlsHolder = NLSHolder.create(cu);        NLSSubstitution[] substitution = nlsHolder.getSubstitutions();        assertEquals(substitution.length, 1);        assertEquals(substitution[0].getKey(), "Key.5");            }