@Test
public void compareToWorksAsExpected() {

    final ImmutableAcknowledgementLabel ackLabelAbc = ImmutableAcknowledgementLabel.of("abc");
    final ImmutableAcknowledgementLabel ackLabelDef = ImmutableAcknowledgementLabel.of("def");
    try (final AutoCloseableSoftAssertions softly = new AutoCloseableSoftAssertions()) {
        softly.assertThat(ackLabelAbc.compareTo(ackLabelAbc))
                .as("compare with equal")
                .isZero();
        softly.assertThat(ackLabelAbc.compareTo(ackLabelDef))
                .as("compare with greater")
                .isNegative();
        softly.assertThat(ackLabelDef.compareTo(ackLabelAbc))
                .as("compare with less")
                .isPositive();
    }
}