How to write junit test for async call inside another async java8 completableFuture

后端 未结 0 1247
天命终不由人
天命终不由人 2021-01-07 11:58

I got stuck in writing a unit test for the following code. Is there anyway I can mock and move into method doSomethingAndReturnB from junit.

import java.io.*;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题