}
};
ProjectMock project = new ProjectMock();
project.setNature(new PythonNatureStub());
FolderMock mod1 = new FolderMock("mod1");
FileMock initFromMod1 = new FileMock("__init__.py"); //visited
mod1.addMember(initFromMod1);
mod1.addMember(new FileMock("a.py")); //visited
mod1.addMember(new FileMock("unrelated"));
FolderMock mod2 = new FolderMock("mod2");
mod1.addMember(mod2);
mod2.addMember(new FileMock("__init__.py")); // visited
FolderMock mod3 = new FolderMock("mod3");
mod1.addMember(mod3);
mod3.addMember(new FileMock("c.py")); //not visited because mod3 has no __init__.
project.addMember(mod1);
visitor.memo = new HashMap<String, Object>();
visitor.visitAddedResource(initFromMod1, null, null);