Android: Testing Realm
André Diermann
703

Realm unfortunately doesn't support inMemory database without Android Context anymore.

Configuration Builder depends on context

public Builder() {
this(BaseRealm.applicationContext);
}

Builder(Context context) {
if (context == null) {
throw new IllegalStateException("Call `Realm.init(Context)` before creating a RealmConfiguration");
}
RealmCore.loadLibrary(context);
initializeBuilder(context);
}