use of org.hisp.dhis.android.core.dataelement.DataElement in project dhis2-android-sdk by dhis2.
the class MetadataCallShould method return_last_response_items_returned.
@Test
public void return_last_response_items_returned() throws Exception {
Response response = metadataCall.call();
Payload<DataElement> payload = (Payload<DataElement>) response.body();
assertTrue(!payload.items().isEmpty());
assertThat(payload.items().get(0)).isEqualTo(dataElement);
}
Aggregations