Patrick Ramsey
09/03/2021, 12:05 AMevery { Singleton.field }
breaks because there’s no accessor to mock) and mockkStatic(Singleton::class) doesn’t seem to work either ( every { Singleton.field }
doesn’t result in an exception, but accessing Singleton.field still returns its original value)