Mock method to throw PersistenceException and StatusPages receives a different exception

后端 未结 0 1720
耶瑟儿~
耶瑟儿~ 2020-12-10 09:07

I was trying to make a unit test that verifies that an exception thrown by hibernate would be handled and would result in a proper response. The exception is a PersistenceEx

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