FrameInfo frame = sm.getSessionEncryption().toFrameInfo(
FrameInfo.Type.FETCH_REQUEST, reply);
assertTrue(frame.hasSessionId());
assertEquals(reply.toByteString(), sm.getSessionEncryption().decrypt(frame.getPayload()));
}
public void testValidateFetchRequest() throws Exception {
FetchRequest request = FetchRequest.newBuilder()
.setId("requestId").setStrategy("HttpClient").setResource("badUrl").build();