@Test
public void validateKey_version() throws Exception {

  AesSivKeyManager manager = new AesSivKeyManager();
  try {
    manager.validateKey(AesSivKey.newBuilder(createAesSivKey(64)).setVersion(1).build());
    fail();
  } catch (GeneralSecurityException e) {
    // expected
  }
}