how to throw an HttpException in Kotlin - retrofit 2 - unit test

后端 未结 0 1327
南旧
南旧 2021-02-01 05:55

I am writing a unit test and I want to throw an HttpException with an error code 409.

This is what I tried but it gives me an error

Using \'parse(String): Me

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