@Test
public void testInvalidCodeSize() throws Exception {

  try {
    Hkdf.computeHkdf("HmacSha256", new byte[0], new byte[0], new byte[0], 32 * 256);
    fail("Invalid size, should have thrown exception");
  } catch (GeneralSecurityException expected) {
    // Expected
  }
}