Michael de Kaste
05/13/2022, 9:10 AMevery { someClass.duration } returns 30.minutes
I can't run thisephemient
05/13/2022, 11:08 AMMichael de Kaste
05/13/2022, 11:31 AMephemient
05/13/2022, 1:29 PMevery { someClass.duration as Any? }.returns(30.minutes as Any?)
work? (just a thought, there's a good chance that doesn't help) otherwise you'll just have to avoid mocking by using the real object or a writing a fake