I know really little about jni, so here is my question: Is it possible to make Document not final in Java? Or create an interface with all the methods and that Document implements it?
My problem is to mock final classes. It’s not impossible but it’s complicated.
I would love Unit Test my code without PowerMock or a whole Couchbase Lite Database instance.