Merge branch 'BAEL-3660_Open_Liberty' of https://github.com/SmartyAnsh/tutorials into BAEL-3660_Open_Liberty

This commit is contained in:
Anshul BANSAL 2020-01-30 15:16:20 +02:00
commit 369debdc64
1 changed files with 3 additions and 3 deletions

View File

@ -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());
} }
} }