void () { ((ModulePointerManagerImpl)getPointerManager()).setRenamingScheme(Maps.newHashMap("oldName", "newName")); Module module = addModule("newName"); ModulePointer pointer = getPointerManager().create("oldName"); assertEquals("newName", pointer.getModuleName()); assertSame(module, pointer.getModule()); }