@Test
public void throwAlreadyExistsTest() {

    // Setup:
    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("Record " + RECORD_IRI + " already exists");
    throw service.throwAlreadyExists(RECORD_IRI, recordFactory);
}