@BeforeClass
  public static void setUp() throws Exception {
    DeterministicAeadConfig.register();
    AeadConfig.register(); // Needed for getPrimitiveFromNonDeterministicAeadKeyset_throws.
  }
Unit tests for the Daead package. Uses only the public API.
java_src/src/test/java/com/google/crypto/tink/daead/DaeadTest.java