class SimpleCatalogManager implements CatalogManager {

    @Override
    public Set<Branch> getBranches(Resource catalogId, Resource versionedRDFRecordId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            VersionedRDFRecord record = utils.getRecord(catalogId, versionedRDFRecordId, versionedRDFRecordFactory,
                    conn);
            return record.getBranch_resource().stream()
                    .map(resource -> utils.getExpectedObject(resource, branchFactory, conn))
                    .collect(Collectors.toSet());
        }
    }

    public  SimpleCatalogManager();

}