@Test
public void testEquals() {

  new EqualsTester()
      .addEqualityGroup(
          new JsonRpcV1Request("id", "method", 123, 4.56),
          new JsonRpcV1Request("id", "method", 123, 4.56)
      )
      .addEqualityGroup(
          new JsonRpcV1Request(null, "method"),
          new JsonRpcV1Request(null, "method")
      ).testEquals();
}