Mockito testing a function that throws log error

前端 未结 0 1632
無奈伤痛
無奈伤痛 2021-01-15 14:28

I am new to writing test cases. I need to test a part of a function that does not return anything. Could check if a log error is obtained or not

public void M         


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