void () { VirtualFile file = createFile("file.txt", "a"); Artifact a = addArtifact(root().dir("dir").file(file)); compileProject(); assertOutput(a, fs().dir("dir").file("file.txt", "a")); changeFile(file, "b"); compileProject(); assertOutput(a, fs().dir("dir").file("file.txt", "b")); }