mockStatic (Instant.class); mocked.when(Instant::now). ... mockStatic() にモックにしたいstaticメソッドがあるクラスを指定してモック ...
確定! 回上一頁