Remove uses of Mockito from the Auto project.

Mockito 5 no longer supports Java 8 and we still do. While we could pin Auto to an older version, our uses of Mockito are pretty trivial. It's just two tests, and it's only interfaces that are mocked. So we can use some home-made [dynamic proxies](https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Proxy.html) instead.

Closes #1433.

RELNOTES=n/a
PiperOrigin-RevId: 502620572
5 files changed
tree: 4bbb6f9154b96fdbb2a6b99ca243f6fa22f756af
  1. .github/
  2. common/
  3. factory/
  4. service/
  5. util/
  6. value/
  7. .gitignore
  8. build-pom.xml
  9. CONTRIBUTING.md
  10. LICENSE
  11. README.md
README.md

Auto

Build Status

A collection of source code generators for Java.

Overview

Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!

The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.

Save time. Save code. Save sanity.

Subprojects

License

Copyright 2013 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.