// -------------------------------------------------------------------
// Add a single test entry
// -------------------------------------------------------------------
LdifReader reader = new LdifReader();
List<LdifEntry> entries = reader.parseLdif( LDIF );
LdifEntry entry = entries.get(0);
testEntries.add( entry );
// -------------------------------------------------------------------
// Add more from an optional LDIF file if they exist