Mockito/PowerMockito to Test System.currentTimeMillis() in java

前端 未结 0 471
一整个雨季
一整个雨季 2020-12-29 06:50

I am having below method in my class,

public boolean isExecutionDone() {
      boolean flag = false;
      long nowPlus5Minutes = System.currentTimeMillis() +         


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