@Test
public void testHashCodeAndEquals() {

    EqualsVerifier.forClass(DittoAcknowledgementLabel.class)
            .usingGetClass()
            .verify();
    final DittoAcknowledgementLabel underTest = DittoAcknowledgementLabel.TWIN_PERSISTED;
    final AcknowledgementLabel other = AcknowledgementLabel.of(underTest.toString());
    assertThat((CharSequence) other).isEqualTo(underTest);
}