|
|
|
@ -71,7 +71,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
|
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@ -92,7 +92,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
|
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@ -114,7 +114,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
|
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@ -136,7 +136,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
|
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@ -158,7 +158,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
new JsonRpcErrorResponse(null, JsonRpcError.TRANSACTION_UPFRONT_COST_EXCEEDS_BALANCE); |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@ -170,7 +170,7 @@ public class EthEstimateGasIntegrationTest { |
|
|
|
|
|
|
|
|
|
final JsonRpcResponse response = method.response(request); |
|
|
|
|
|
|
|
|
|
assertThat(response).isEqualToComparingFieldByField(expectedResponse); |
|
|
|
|
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private JsonRpcRequestContext requestWithParams(final Object... params) { |
|
|
|
|