I have seen some pre-AI over-mocked codebases where the "tests" where essentially that (but harder to read than regex would have been)