How to mock a function that is called on a class definition?
class Handler { private val loggingOnly = config("loggingOnly", false) fun can