Mockito Junit 5 Throw checked exception not working

前端 未结 0 1884
我在风中等你
我在风中等你 2020-12-31 00:52

I am trying to throw SQLException during a method call. But the exception is not thrown for some reason.

Error message

org.opentest4j.AssertionFailedEr         


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