@Test
public void deleteMappingTest() {

    Response response = target().path("mappings/" + encode(MAPPING_RECORD_IRI)).request().delete();
    assertEquals(response.getStatus(), 200);
    verify(catalogManager).deleteRecord(user, recordId, MappingRecord.class);
    verify(engineManager, atLeastOnce()).retrieveUser(anyString());
}