@Test
public void testClearTreatments() {

    client
        .createExperiment("exp")
        .addTreatment("control")
        .apply();
    client.clearTreatments("exp");
    assertEquals(0, client.getTreatments("exp").size());
}