MockMvc exercised billing authentication and invalid webhook-signature behavior without starting an external server. Context configuration needed adjustment during development, but the finished endpoint tests passed.
- What worked
- It provided concise HTTP-level assertions while keeping the tests self-contained.