useEngineForTest static method
(FOR TESTING ONLY) Makes the real facade use engine, for example a
mock, without loading the native library. Undo it with
setMockInstance(null).
Implementation
@visibleForTesting
static MobileRag useEngineForTest(RagEngine engine) {
_engine = engine;
return _instance = MobileRag._();
}