@Test
public void downloadMappingTest() {

    Response response = target().path("mappings/" + encode(MAPPING_IRI)).request()
            .accept(MediaType.APPLICATION_OCTET_STREAM_TYPE).get();
    assertEquals(response.getStatus(), 200);
    verify(manager).retrieveMapping(vf.createIRI(MAPPING_IRI));
}