### Question:
InitialAEAD { public static AEAD create(final byte[] keyMaterial, final boolean isClient) { final byte[] initialSecret = HKDF.extract(QUIC_VERSION_1_SALT, keyMaterial); final int length = 32; final byte[] clientSecret = expand(initialSecret, CLIENT_INITIAL, length); final byte[] serverSecret = expand(initialSecret, SERVER_INITIAL, length); final byte[] mySecret; final byte[] otherSecret; if (isClient) { mySecret = clientSecret; otherSecret = serverSecret; } else { mySecret = serverSecret; otherSecret = clientSecret; } final byte[] myKey = expand(mySecret, KEY, 16); final byte[] myIV = expand(mySecret, IV, 12); final byte[] otherKey = expand(otherSecret, KEY, 16); final byte[] otherIV = expand(otherSecret, IV, 12); final byte[] myPnKey = expand(mySecret, HP_KEY, 16); final byte[] otherPnKey = expand(otherSecret, HP_KEY, 16); return new AEAD(myKey, otherKey, myIV, otherIV, myPnKey, otherPnKey); }  static AEAD create(final byte[] keyMaterial, final boolean isClient);  }### Answer:
@Test public void testSecretsGenerator() { final byte[] connId = Hex.dehex("8394c8f03e515708"); final AEAD aead = InitialAEAD.create(connId, true); Assert.assertEquals("98b0d7e5e7a402c67c33f350fa65ea54", Hex.hex(aead.getMyKey())); Assert.assertEquals("9a8be902a9bdd91d16064ca118045fb4", Hex.hex(aead.getOtherKey())); Assert.assertEquals("19e94387805eb0b46c03a788", Hex.hex(aead.getMyIV())); Assert.assertEquals("0a82086d32205ba22241d8dc", Hex.hex(aead.getOtherIV())); Assert.assertEquals("0edd982a6ac527f2eddcbb7348dea5d7", Hex.hex(aead.getMyPnKey())); Assert.assertEquals("94b9452d2b3c7c7f6da7fdd8593537fd", Hex.hex(aead.getOtherPnKey())); }