def METHOD_NAME(self):
    file1_path = os.path.join(self.project.stage_dir, "file1")
    file2_path = os.path.join(self.project.stage_dir, "file2")
    self.part1.mark_stage_done({"file1"}, set())
    self.part2.mark_stage_done({"file2"}, set())
    for file_path in (file1_path, file2_path):
        open(file_path, "w").close()
    self.assertThat(
        inspection.provides(file1_path, self.project, self.parts),
        Equals({self.part1}),
    )
    self.assertThat(
        inspection.provides(file2_path, self.project, self.parts),
        Equals({self.part2}),
    )