def METHOD_NAME(self):
    file_path = os.path.join(self.project.stage_dir, "file")
    open(file_path, "w").close()
    raised = self.assertRaises(
        inspection.errors.UntrackedFileError,
        inspection.provides,
        file_path,
        self.project,
        self.parts,
    )
    self.assertThat(raised.path, Equals(file_path))