review correction

This commit is contained in:
Anshul BANSAL
2020-01-22 15:10:33 +02:00
parent 280d601e32
commit 8c6959da77

View File

@@ -24,7 +24,7 @@ public class RestClientTest {
@Test
public void testSuite() {
//run the test only when liberty server is started
this.whenConsumeWithJsonb_thenGetPerson();
//this.whenConsumeWithJsonb_thenGetPerson();
}
public void whenConsumeWithJsonb_thenGetPerson() {
@@ -32,7 +32,7 @@ public class RestClientTest {
String result = RestConsumer.consumeWithJsonb(url);
Person person = JsonbBuilder.create().fromJson(result, Person.class);
assert person.getId() == 1;
assertEquals(person.getId(), 1);
assertEquals(person.getUsername(), "normanlewis");
assertEquals(person.getEmail(), "normanlewis@email.com");
}