mozilla-services/android-sync — comment on commit b11b5782f804f996ed30189a60d18a5536f3daeb
File: src/test/java/org/mozilla/android/sync/net/test/TestGlobalSession.java line 267
By rnewman:

If you're just directly instantiating this, why not make it reusable and have the backoff value parameterized?

That avoids the appearance of 2401 elsewhere in the code, which is fragile.

(One could also say "why not have a ResponseBuilder parameter?", or otherwise parameterize your mocks, which would allow you to reduce some code duplication.)