@Test
public void testRemoveTreamtment() {

    delete(TREATMENT_ENDPOINT, EXPERIMENT_BAD, EXP_1_TREATMENT_1)
        .assertStatus(Status.NOT_FOUND);
    delete(TREATMENT_ENDPOINT, EXPERIMENT_1, TREATMENT_BAD)
        .assertStatus(Status.NOT_FOUND);
    assertNotNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_1));
    delete(TREATMENT_ENDPOINT, EXPERIMENT_1, EXP_1_TREATMENT_1)
        .assertStatus(Status.NO_CONTENT);
    assertNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_1));
}