### Question:
EeaSendTransactionJsonParameters { @JsonSetter("to") public void receiver(final String receiver) { this.receiver = receiver; } @JsonCreator  EeaSendTransactionJsonParameters(
      @JsonProperty("from") final String sender,
      @JsonProperty("privateFrom") final String privateFrom,
      @JsonProperty("restriction") final String restriction); @JsonSetter("gas") void gas(final String gas); @JsonSetter("gasPrice") void gasPrice(final String gasPrice); @JsonSetter("nonce") void nonce(final String nonce); @JsonSetter("to") void receiver(final String receiver); @JsonSetter("value") void value(final String value); @JsonSetter("data") void data(final String data); @JsonSetter("privateFor") void privateFor(final String[] privateFor); @JsonSetter("privacyGroupId") void privacyGroupId(final String privacyGroupId); Optional<String> data(); Optional<BigInteger> gas(); Optional<BigInteger> gasPrice(); Optional<String> receiver(); Optional<BigInteger> value(); Optional<BigInteger> nonce(); Optional<List<Base64String>> privateFor(); Optional<Base64String> privacyGroupId(); String sender(); Base64String privateFrom(); String restriction(); static EeaSendTransactionJsonParameters from(final JsonRpcRequest request);  }### Answer:
@Test public void transactionWithInvalidToCanBeDecoded() { final JsonObject parameters = validEeaTransactionParameters(); parameters.put("to", "invalidToAddress"); final JsonRpcRequest request = wrapParametersInRequest(parameters); final EeaSendTransactionJsonParameters txnParams = factory.fromRpcRequestToJsonParam(EeaSendTransactionJsonParameters.class, request); assertThat(txnParams.receiver()).contains("invalidToAddress"); }