QPID-7763: [Java Broker] Fix mock in unit tests
9 files changed