@Test
public void testGetMasterBranchOfRecordWithoutMasterSet() {

    // Setup:
    thrown.expect(IllegalStateException.class);
    thrown.expectMessage("Record " + VERSIONED_RDF_RECORD_IRI + " does not have a master Branch set.");
    manager.getMasterBranch(distributedCatalogId, VERSIONED_RDF_RECORD_IRI);
}