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);
|
String result = RestConsumer.consumeWithJsonb(url);
|
||||||
|
|
||||||
Person person = JsonbBuilder.create().fromJson(result, Person.class);
|
Person person = JsonbBuilder.create().fromJson(result, Person.class);
|
||||||
assertEquals(person.getId(), 1);
|
assertEquals(1, person.getId());
|
||||||
assertEquals(person.getUsername(), "normanlewis");
|
assertEquals("normanlewis", person.getUsername());
|
||||||
assertEquals(person.getEmail(), "normanlewis@email.com");
|
assertEquals("normanlewis@email.com", person.getEmail());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue