void () { VirtualFile file1 = createFile("d/1.txt"); createFile("d/2.txt"); Artifact included = addArtifact("i", root().dirCopy(file1.getParent())); Artifact a = addArtifact(root().artifact(included)); make(a); assertOutput(a, fs().file("1.txt").file("2.txt")); VfsTestUtil.deleteFile(file1); make(a); assertOutput(a, fs().file("2.txt")); }