MockK Mocking a Surface object for Android
I'm trying to test some code, and I need a valid Surface object for Android in order to properly test it, since a lot of the code checks if there is a valid surface (ie surface.isValid() where surface is of the Surface class: https://developer.android.com/reference/android/view/Surface)
With MockK, is there a way I can essentially perform this Mock? I have tried the following:
private lateinit...