@Test
public void testGetTreatments() {

    client
        .createExperiment("exp")
        .addTreatment("control", "the control")
        .apply();
    final List<TreatmentDto> treatments = client.getTreatments("exp");
    assertEquals(1, treatments.size());
    final TreatmentDto treatment = treatments.get(0);
    assertEquals("control", treatment.getName());
    assertEquals("the control", treatment.getDescription());
}