@Test
public void getMasterBranchTest() {

    Response response = target().path("catalogs/" + encode(LOCAL_IRI) + "/records/" + encode(RECORD_IRI) + "/branches/master")
            .request().get();
    assertEquals(response.getStatus(), 200);
    verify(catalogManager).getMasterBranch(vf.createIRI(LOCAL_IRI), vf.createIRI(RECORD_IRI));
    assertResponseIsObjectWithId(response, BRANCH_IRI);
}