def METHOD_NAME(self, db):
    db.add_callinfo("invalid", "key", (1, 2), 3)
    observer = _MockFileListObserver()
    db.add_file_list_observer(observer)
    db.validate_files()
    self.assertEqual("removed invalid ", observer.log)