Any1 here experienced problems when mocking extens...
# android
s
Any1 here experienced problems when mocking extension methods btw? Not sure if this is the right channel to ask that question. But I’m extending the class
Camera.Parameters
and an extension method
getPreviewSizeWithClosestHeight(Int)
I have a mocked instance of
Camera.Parameters
but the real method is still invoked. (edited) Is this because PowerMockito doesn’t recognise the method?