@Test
public void tryToParseAcknowledgementRequestFromStringWithInvalidLabel() {

    final String invalidAckLabel = "ab";
    final AcknowledgementLabelInvalidException expectedCause =
            new AcknowledgementLabelInvalidException(invalidAckLabel);
    assertThatExceptionOfType(AcknowledgementRequestParseException.class)
            .isThrownBy(() -> AcknowledgementRequests.parseAcknowledgementRequest(invalidAckLabel))
            .withMessageContaining(invalidAckLabel)
            .withMessageContaining(expectedCause.getMessage())
            .withCause(expectedCause);
}