void () { final VirtualFile file1 = createFile("src1/A.java", "public class A{}"); final Module module1 = addModule("module1", file1.getParent()); final VirtualFile file2 = createFile("src2/B.java", "public class B{}"); final Module module2 = addModule("module2", file2.getParent()); final Artifact artifact = addArtifact(root().module(module1).module(module2)); setBuildOnMake(artifact); make(module1); assertOutput(artifact, fs().file("A.class").file("B.class")); }