To make Practical Spring LDAP widely available, the book has been republished by Apress. It can now be purchased online or at a brick and mortar bookstore.
You can download code and associated artifacts from Apress Site under the "Source Code/Downloads" tab.
LDAP Unit is an open source framework intended to make testing LDAP code easier. You can find out more about LDAP Unit at http://ldapunit.org