From fd233a6f00c5fc95d8daad6d1c350725c583db10 Mon Sep 17 00:00:00 2001 From: Anshul Bansal Date: Fri, 24 Jan 2020 09:30:17 +0200 Subject: [PATCH] review fix - changed the order of arguments --- .../test/java/com/baeldung/openliberty/RestClientTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/open-liberty/src/test/java/com/baeldung/openliberty/RestClientTest.java b/open-liberty/src/test/java/com/baeldung/openliberty/RestClientTest.java index a1169e6d63..4978483ca0 100644 --- a/open-liberty/src/test/java/com/baeldung/openliberty/RestClientTest.java +++ b/open-liberty/src/test/java/com/baeldung/openliberty/RestClientTest.java @@ -32,9 +32,9 @@ public class RestClientTest { String result = RestConsumer.consumeWithJsonb(url); Person person = JsonbBuilder.create().fromJson(result, Person.class); - assertEquals(person.getId(), 1); - assertEquals(person.getUsername(), "normanlewis"); - assertEquals(person.getEmail(), "normanlewis@email.com"); + assertEquals(1, person.getId()); + assertEquals("normanlewis", person.getUsername()); + assertEquals("normanlewis@email.com", person.getEmail()); } }