class SimpleCatalogManager implements CatalogManager {

    @Override
    public Branch getMasterBranch(Resource catalogId, Resource versionedRDFRecordId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            VersionedRDFRecord record = utils.getRecord(catalogId, versionedRDFRecordId, versionedRDFRecordFactory,
                    conn);
            Resource branchId = record.getMasterBranch_resource().orElseThrow(() ->
                    new IllegalStateException("Record " + versionedRDFRecordId
                            + " does not have a master Branch set."));
            return utils.getExpectedObject(branchId, branchFactory, conn);
        }
    }

    public  SimpleCatalogManager();

}