@Test
public void testRawChaCha20Poly1305Template() throws Exception {

  KeyTemplate template = ChaCha20Poly1305KeyManager.rawChaCha20Poly1305Template();
  assertEquals(new ChaCha20Poly1305KeyManager().getKeyType(), template.getTypeUrl());
  assertEquals(KeyTemplate.OutputPrefixType.RAW, template.getOutputPrefixType());
  ChaCha20Poly1305KeyFormat unused =
      ChaCha20Poly1305KeyFormat.parseFrom(
          template.getValue(), ExtensionRegistryLite.getEmptyRegistry());
}