review correction
@@ -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");
}
