@Test
public void testRawXChaCha20Poly1305Template() throws Exception {

  KeyTemplate template = XChaCha20Poly1305KeyManager.rawXChaCha20Poly1305Template();
  assertThat(template.getTypeUrl()).isEqualTo(new XChaCha20Poly1305KeyManager().getKeyType());
  assertThat(template.getOutputPrefixType()).isEqualTo(KeyTemplate.OutputPrefixType.RAW);
  XChaCha20Poly1305KeyFormat unused =
      XChaCha20Poly1305KeyFormat.parseFrom(
          ByteString.copyFrom(template.getValue()), ExtensionRegistryLite.getEmptyRegistry());
}