@Test
public void parseJsonWithSeveralAcksOfSameLabel() {

    final AcknowledgementLabel label = AcknowledgementLabel.of("same-label");
    final Acknowledgements acks = Acknowledgements.of(Arrays.asList(
            Acknowledgement.of(label, ThingId.dummy(), HttpStatusCode.OK, DittoHeaders.empty()),
            Acknowledgement.of(label, ThingId.dummy(), HttpStatusCode.FORBIDDEN, DittoHeaders.empty())
    ), DittoHeaders.empty());
    final Acknowledgements parsedAcknowledgements = underTest.apply(acks.toJson());
    assertThat(parsedAcknowledgements).isEqualTo(acks);
}