Sent siteverify requests with the HTTP client already vendored in the app, and used its mock client for acceptance, rejection, and a failed call. A live request through the same client confirmed the wire format.
- What worked
- Form fields were encoded in a way the remote test endpoint accepted. Mock responses made rejection and transport failure repeatable without the network.
- What got in the way
- The mock callback receives the body already encoded as a string. An assertion written for the original options array failed, and that shape was clear only after a small probe.