### Question:
EthNewBlockFilter implements JsonRpcMethod { @Override public JsonRpcResponse response(final JsonRpcRequestContext requestContext) { return new JsonRpcSuccessResponse( requestContext.getRequest().getId(), filterManager.installBlockFilter()); } EthNewBlockFilter(final FilterManager filterManager); @Override String getName(); @Override JsonRpcResponse response(final JsonRpcRequestContext requestContext);  }### Answer:
@Test public void getResponse() { when(filterManager.installBlockFilter()).thenReturn("0x0"); final JsonRpcRequestContext request = new JsonRpcRequestContext(new JsonRpcRequest("2.0", ETH_METHOD, new String[] {})); final JsonRpcResponse expectedResponse = new JsonRpcSuccessResponse(request.getRequest().getId(), "0x0"); final JsonRpcResponse actualResponse = method.response(request); assertThat(actualResponse).isEqualToComparingFieldByField(expectedResponse); verify(filterManager).installBlockFilter(); verifyNoMoreInteractions(filterManager); }