void () { Module m = addModule("m", null); Artifact a = addArtifact("a", root().dir("d").module(m)); Artifact b = addArtifact("b", root().artifact(a)); addArtifact("c", root().file(createFile("x.txt"))); assertSameElements(ArtifactUtil.getArtifactsContainingModuleOutput(m), a, b); }