LDAPUnit makes it easier to create unit tests for components that are dependent on an LDAP directory servers:
LDAPUnit relies on UnboundID LDAP SDK to run the embedded LDAP directory server and as the API used to connect to LDAP directory servers.
To provide you with better understanding of some usages of the LDAPUnit you can take a look at the following examples:
The LDAPUnit has been published in Maven Central at the following coordinates:
<plugin> <groupId>com.btmatthews.ldapunit</groupId> <artifactId>ldapunit</artifactId> <version>1.1.3</version> </plugin>