testEntries = ConfigurationUtil.getClonedAttributesList( ConfigurationUtil.getTypeSafeList( testEntries, Attributes.class ) );  Iterator i = testEntries.iterator(); while ( i.hasNext() ) { Attributes entry = ( Attributes ) i.next(); if ( entry.get( "dn" ) == null ) { throw new ConfigurationException( "Test entries must have DN attributes" ); } }  this.testEntries = testEntries;
try { testEntries = ConfigurationUtil.getClonedAttributesList( ConfigurationUtil.getTypeSafeList( testEntries, Entry.class ) );  this.testEntries = testEntries; } catch ( CloneNotSupportedException cnse ) { this.testEntries = null; }
    protected void setTestEntries( List testEntries )    {        testEntries = ConfigurationUtil.getClonedAttributesList( ConfigurationUtil.getTypeSafeList( testEntries,            Attributes.class ) );        Iterator i = testEntries.iterator();        while ( i.hasNext() )        {            Attributes entry = ( Attributes ) i.next();            if ( entry.get( "dn" ) == null )            {                throw new ConfigurationException( "Test entries must have DN attributes" );            }        }        this.testEntries = testEntries;    }