@Test
public void createKey_valid() throws Exception {

  manager.validateKey(factory.createKey(makeJwtHmacKeyFormat(32, HashType.SHA256)));
  manager.validateKey(factory.createKey(makeJwtHmacKeyFormat(32, HashType.SHA256)));
  manager.validateKey(factory.createKey(makeJwtHmacKeyFormat(32, HashType.SHA512)));
}