@Test
public void updateUnversionedDistributionTest() {

    //Setup:
    JSONObject distribution = new JSONObject().element("@id", DISTRIBUTION_IRI)
            .element("@type", new JSONArray().element(Distribution.TYPE));
    Response response = target().path("catalogs/" + encode(LOCAL_IRI) + "/records/" + encode(RECORD_IRI)
            + "/distributions/" + encode(DISTRIBUTION_IRI))
            .request().put(Entity.json(distribution.toString()));
    assertEquals(response.getStatus(), 200);
    verify(catalogManager).updateUnversionedDistribution(eq(vf.createIRI(LOCAL_IRI)), eq(vf.createIRI(RECORD_IRI)), any(Distribution.class));
    verify(bNodeService).deskolemize(any(Model.class));
}