def METHOD_NAME(self):
    util.write_file("", self.base_dir, "tempfile")
    util.rmtree(self.base_dir)
    self.assertFalse(
        os.path.exists(self.base_dir), "Failed to remove directory with file"
    )