@Before
  public void setUp() throws Exception {
    // All tests here require that Tink is build in FIPS-mode.
    Assume.assumeTrue(TinkFips.useOnlyFips());

    // Register conscrypt
    Conscrypt.checkAvailability();
  }
Tests for EngineFactory when Tink is build in FIPS-mode.
java_src/src/test/java/com/google/crypto/tink/subtle/EngineFactoryFipsTest.java