What are you trying to achieve or the steps to reproduce?
I am trying to mock Fotoapparat with Mockito. Since Fotoapparat is final mockito has issues mocking this class in android instrumentation tests.
There are some solutions but they are tricky to setup + have drawbacks. For example mocking of final classes is only supported from Android P or greater).
What did you expect?
It would be great to make fotoapparat open. (or let it implement an interface)
Would you accept a PR with a (non-breaking) change like this ?
What are you trying to achieve or the steps to reproduce?
I am trying to mock Fotoapparat with Mockito. Since Fotoapparat is final mockito has issues mocking this class in android instrumentation tests. There are some solutions but they are tricky to setup + have drawbacks. For example mocking of final classes is only supported from Android P or greater).
What did you expect?
It would be great to make fotoapparat open. (or let it implement an interface)
Would you accept a PR with a (non-breaking) change like this ?