@Test
public void readNoSecretFailWithEmptyKeyset() throws Exception {

  try {
    KeysetHandle unused = KeysetHandle.readNoSecret(new byte[0]);
    fail("Expected GeneralSecurityException");
  } catch (GeneralSecurityException e) {
    assertExceptionContains(e, "empty keyset");
  }
}