BrotliLibraryLoader { public static synchronized void loadBrotli() throws UnsatisfiedLinkError, IllegalStateException, SecurityException { LibraryLoader libraryLoader = new LibraryLoader(BROTLI_LIB_NAME); if (libraryLoader.trySystemLibraryLoading()) return; if (libraryLoader.tryLoadingFromTemporaryFolder()) return; String details = libraryLoader.getResult().asFormattedString(); throw new UnsatisfiedLinkError("Couldn't load native library '" + BROTLI_LIB_NAME + "'. " + details); }  static synchronized void loadBrotli();  }
@Test public void happy_path() throws Exception { BrotliLibraryLoader.loadBrotli(); }