void () { PsiFile file = myFixture.addFileToProject("some.txt", ""); SMTestProxy proxy = new SMTestProxy("test1", false, "file://" + file.getVirtualFile().getPath()); proxy.setLocator(new FileUrlProvider()); proxy.putUserData(SMTestProxy.NODE_ID, "nodeId"); assertEquals("nodeId", TestUniqueId.getEffectiveNodeId(proxy, getProject(), GlobalSearchScope.projectScope(getProject()))); }