@Test
public void testGetActiveTreatments() {

    final Map<String, TreatmentDto> expected = ImmutableMap.of(
        EXPERIMENT_1, MAPPER.toDto(experiment(EXPERIMENT_1).getTreatment(user, user.computeAttributes()), TreatmentDto.class)
    );
    final Map<String, TreatmentDto> actual =
        post(ENDPOINT_ACTIVE_TREATMENTS)
            .entity(userDto)
            .assertStatus(Status.OK)
            .result(map(String.class, TreatmentDto.class));
    assertEquals(expected, actual);
}