@Test
public void testClearTreatments() {

    delete(TREATMENTS_ENDPOINT, EXPERIMENT_BAD)
        .assertStatus(Status.NOT_FOUND);
    assertNotNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_1));
    assertNotNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_2));
    assertNotNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_3));
    delete(TREATMENTS_ENDPOINT, EXPERIMENT_1)
        .assertStatus(Status.NO_CONTENT);
    assertNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_1));
    assertNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_2));
    assertNull(experiment(EXPERIMENT_1).getTreatment(EXP_1_TREATMENT_3));
}