単体テストコードを書くことを考えると、外部のAPIにアクセスするような処理をMockに出来ないかなーとは思ってました。 私の場合はインターフェースを切ってました。 下記のライブラリを見つけました。 github.com HttpClientクラスの代わりに処理するMockHt…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.