Refactor mock methods
What does this MR do and why?
Simple MR to refactor specs. We had many ways to add mock methods, this MR introduces a bit more consistency.
Screenshots or screen recordings
No visual changes.
How to set up and validate locally
- Checkout the branch
- Run specs
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #381672 (closed)