Mockk function called on class definition

后端 未结 0 2021
感动是毒
感动是毒 2020-12-15 05:41

How to mock a function that is called on a class definition?

class Handler {
    private val loggingOnly = config("loggingOnly", false)

    fun can         


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