@Test
public void getVersionTest() {

    Response response = target().path("catalogs/" + encode(LOCAL_IRI) + "/records/" + encode(RECORD_IRI)
            + "/versions/" + encode(VERSION_IRI))
            .request().get();
    assertEquals(response.getStatus(), 200);
    verify(catalogManager).getVersion(vf.createIRI(LOCAL_IRI), vf.createIRI(RECORD_IRI), vf.createIRI(VERSION_IRI), versionFactory);
    assertResponseIsObjectWithId(response, VERSION_IRI);
}