mockk every {}.throws() Exception fails test

后端 未结 0 749
青春惊慌失措
青春惊慌失措 2021-01-01 17:18

I need to verify that a certain call is not made, when a previous method call throws an Exception.

    // GIVEN
    every { relaxedMock.eats() }.throws(NotHun         


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