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