### Question:
EthSubscribeRequest extends UscJsonRpcRequest { @JsonInclude(JsonInclude.Include.NON_NULL) public EthSubscribeParams getParams() { return params; } @JsonCreator  EthSubscribeRequest(
            @JsonProperty("jsonrpc") JsonRpcVersion version,
            @JsonProperty("method") UscJsonRpcMethod method,
            @JsonProperty("id") Integer id,
            @JsonProperty("params") EthSubscribeParams params); @JsonInclude(JsonInclude.Include.NON_NULL) EthSubscribeParams getParams(); @Override JsonRpcResultOrError accept(UscJsonRpcRequestVisitor visitor, ChannelHandlerContext ctx);  }### Answer:
@Test public void deserializeNewHeads() throws IOException { String message = "{\"jsonrpc\":\"2.0\",\"id\":333,\"method\":\"eth_subscribe\",\"params\":[\"newHeads\"]}"; UscJsonRpcRequest request = serializer.deserializeRequest( new ByteArrayInputStream(message.getBytes(StandardCharsets.UTF_8)) ); assertThat(request, instanceOf(EthSubscribeRequest.class)); EthSubscribeRequest subscribeRequest = (EthSubscribeRequest) request; assertThat(subscribeRequest.getParams().getSubscription(), is(EthSubscribeTypes.NEW_HEADS)); }