• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Method clear in android.util.SparseIntArray not mocked

domRufio

Lurker
I'm trying to mock a class which uses a GridLayoutManager, using the MockK library, I keep receiving the error above, but am unsure how to mock SparseIntArray.clear() which is being called from within a method of the abstract helper class SpanSizeLookup within GridLayoutManager. Any ideas?
 
Back
Top Bottom