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