### Question:
EthChainId implements JsonRpcMethod { @Override public String getName() { return RpcMethod.ETH_CHAIN_ID.getMethodName(); } EthChainId(final Optional<BigInteger> chainId); @Override String getName(); @Override JsonRpcResponse response(final JsonRpcRequestContext requestContext);  }### Answer:
@Test public void shouldReturnCorrectMethodName() { assertThat(method.getName()).isEqualTo("eth_chainId"); }