diff --git a/ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/EthEstimateGasIntegrationTest.java b/ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/EthEstimateGasIntegrationTest.java index 4bdc376fbe..943d1b3f2c 100644 --- a/ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/EthEstimateGasIntegrationTest.java +++ b/ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/EthEstimateGasIntegrationTest.java @@ -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) {