MHN
Add a comment on Hacker News →
1 of 49 comments
  1. > The factory should create a “Nulled” instance that disables all external communication, but behaves normally in every other respect....

    >...For example, calling LoginClient.createNull().getUserInfo(...) should return a default response without actually talking to the third-party login service.

    So... a mock.