@Test
public void shouldUpdateTrajectory1311() throws Exception {

    //=====================================================================
    // 1.3.1.1
    //=====================================================================
    // build object
    ObjTrajectory traj1311 = new ObjTrajectory();
    traj1311.setUid("traj1311");
    traj1311.setName("traj1311");
    traj1311.setUidWellbore("wellbore1311");
    traj1311.setUidWell("well1311");
    // build http request
    String endpoint = this.url + this.trajectoryPath + traj1311.getUid();
    HttpRequest req1311 = Unirest.put(endpoint);
    req1311.header("Content-Type", "application/json");
    req1311.queryString("uidWellbore", traj1311.getUidWellbore());
    req1311.queryString("uidWell", traj1311.getUidWell());
    // build http response mock
    HttpResponse<String> resp = mock(HttpResponse.class);
    when(resp.getStatus()).thenReturn(200);
    // mock mockClient behavior
    when(this.mockClient.makeRequest(argThat(someReq -> (
        someReq.getHttpMethod().name().equals(req1311.getHttpMethod().name()) &&
        someReq.getUrl().equals(req1311.getUrl()) &&
        someReq.getHeaders().containsKey("Content-Type")
    )), eq("goodUsername"), eq("goodPassword"), anyString())).thenReturn(resp);
    // test
    this.delegator.updateObject(traj1311, "goodUsername", "goodPassword", "exchangeID", this.mockClient);
    // verify
    verify(this.mockClient).makeRequest(argThat(someReq -> (
        someReq.getHttpMethod().name().equals(req1311.getHttpMethod().name()) &&
        someReq.getUrl().equals(req1311.getUrl()) &&
        someReq.getHeaders().containsKey("Content-Type")
    )), eq("goodUsername"), eq("goodPassword"), anyString());
    //=====================================================================
}