void () { Application application = ApplicationManager.getApplication(); if (application != null && application.isUnitTestMode()) { myCatalog = myTestSchemaStoreFile; return; } // ignore schema catalog when remote activity is disabled (when we're in tests, or it is off in settings) myCatalog = !JsonFileResolver.isRemoteEnabled(myProject) ? null : JsonFileResolver.urlToFile(DEFAULT_CATALOG); }