review fix - changed the order of arguments
This commit is contained in:
parent
cb2e6a060d
commit
fd233a6f00
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue