diff --git a/test/integration-tests/src/test/java/org/springframework/ldap/itest/odm/LdapTemplateOdmWithDnAnnotationsITest.java b/test/integration-tests/src/test/java/org/springframework/ldap/itest/odm/LdapTemplateOdmWithDnAnnotationsITest.java index e945d107..8499fee9 100644 --- a/test/integration-tests/src/test/java/org/springframework/ldap/itest/odm/LdapTemplateOdmWithDnAnnotationsITest.java +++ b/test/integration-tests/src/test/java/org/springframework/ldap/itest/odm/LdapTemplateOdmWithDnAnnotationsITest.java @@ -171,6 +171,7 @@ public class LdapTemplateOdmWithDnAnnotationsITest extends AbstractLdapTemplateI assertThat(person.getCountry()).isEqualTo("Norway"); assertThat(person.getDesc().get(0)).isEqualTo("Sweden, Company1, Some Person3"); assertThat(person.getTelephoneNumber()).isEqualTo("+46 555-123654"); - assertThat(person.getEntryUuid()).isEqualTo(entryUuid); + assertThat(person.getEntryUuid()).describedAs("The operational attribute 'entryUUID' was not set").isNotEmpty(); + assertThat(person.getEntryUuid()).isNotEqualTo(entryUuid); } }