use of org.molgenis.data.rest.EntityCollectionRequest in project molgenis by molgenis.
the class RestControllerV1APIIT method testRetrieveEntityCollectionResponsePost.
@Test
public void testRetrieveEntityCollectionResponsePost() {
ValidatableResponse response = given().log().all().header(X_MOLGENIS_TOKEN, testUserToken).contentType(APPLICATION_JSON).body(new EntityCollectionRequest()).when().post(API_V1 + "V1_API_Items?_method=GET").then().log().all();
validateRetrieveEntityCollectionResponse(response);
}
use of org.molgenis.data.rest.EntityCollectionRequest in project molgenis by molgenis.
the class RestControllerV1APIIT method testRetrieveEntityAttributePost.
@Test
public void testRetrieveEntityAttributePost() {
ValidatableResponse response = given().log().all().header(X_MOLGENIS_TOKEN, testUserToken).contentType(APPLICATION_JSON).body(new EntityCollectionRequest()).when().post(API_V1 + "V1_API_TypeTestAPIV1/1/xxref_value?_method=GET").then().log().all();
validateRetrieveEntityAttribute(response);
}
Aggregations