@Test
public void throwDoesNotBelongTest() {

    // Setup:
    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("Record " + RECORD_IRI + " does not belong to Catalog " + CATALOG_IRI);
    throw service.throwDoesNotBelong(RECORD_IRI, recordFactory, CATALOG_IRI, catalogFactory);
}