assertEquals(3, resourceList.getCount());
}
@Test
public void testPostQueryGetResourcesByType() {
Query query = new Query();
query.setQuery("http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#SBMLModel");
HttpEntity<Query> entity = new HttpEntity<Query>(query);
ResponseEntity response = restTemplate.exchange( URL_STRING+"search/getResourcesByType", HttpMethod.POST, entity, String.class);
assertEquals("{\"resources\":{\"count\":3,\"resources\":[{\"value\":[\"http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000001\"]},{\"value\":[\"http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000003\"]},{\"value\":[\"http://www.ebi.ac.uk/ricordo/toolbox/sbmlo#BIOMD0000000002\"]}],\"select\":[\"?s\"]}}"