@Test
public void getBranchTest() {

    try (RepositoryConnection conn = repo.getConnection()) {
        Branch branch = service.getBranch(CATALOG_IRI, VERSIONED_RDF_RECORD_IRI, BRANCH_IRI, branchFactory, conn);
        assertFalse(branch.getModel().isEmpty());
        assertEquals(BRANCH_IRI, branch.getResource());
    }
}