Merge branch 'BAEL-3660_Open_Liberty' of https://github.com/SmartyAnsh/tutorials into BAEL-3660_Open_Liberty
This commit is contained in:
commit
369debdc64
|
@ -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