@Test
public void testRawAes256SivTemplate() throws Exception {

  KeyTemplate template = AesSivKeyManager.rawAes256SivTemplate();
  assertThat(template.getTypeUrl()).isEqualTo(new AesSivKeyManager().getKeyType());
  assertThat(template.getOutputPrefixType()).isEqualTo(KeyTemplate.OutputPrefixType.RAW);
  AesSivKeyFormat format =
      AesSivKeyFormat.parseFrom(template.getValue(), ExtensionRegistryLite.getEmptyRegistry());
  assertThat(format.getKeySize()).isEqualTo(format.getKeySize());
}