void () { final ModulePointer pointer = getPointerManager().create("m"); assertSame(pointer, getPointerManager().create("m")); assertNull(pointer.getModule()); assertEquals("m", pointer.getModuleName()); final Module module = addModule("m"); assertSame(module, pointer.getModule()); assertEquals("m", pointer.getModuleName()); }