@Test
public void validateKey_empty() throws Exception {

  try {
    new ChaCha20Poly1305KeyManager().validateKey(ChaCha20Poly1305Key.getDefaultInstance());
    fail();
  } catch (GeneralSecurityException e) {
    // expected
  }
}