@Test
public void testGetAllocations() {

    get(ALLOCATIONS_ENDPOINT, EXPERIMENT_BAD)
        .assertStatus(Status.NOT_FOUND);
    final Iterable<AllocationDto> expected = MAPPER.toDto(experiment(EXPERIMENT_1).getAllocations(), AllocationDto.class);
    final Iterable<AllocationDto> actual =
        get(ALLOCATIONS_ENDPOINT, EXPERIMENT_1)
            .assertStatus(Status.OK)
            .result(iterable(AllocationDto.class));
    assertEquals(expected, actual);
}