Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mockito-flex を使用して部分的なモックを作成することは可能ですか?
Mockito-flexは、現時点では部分的なモックをサポートしていません。ただし、モックオブジェクトに元の関数を呼び出させることはできます。
与えられた(someone.something(any()))。will(callOriginal());
すべてのパブリック関数とプロパティのオリジナルをモックコールする便利な関数を追加できます。