attr.add( "users" );
    public void testModifyControl() throws NamingException    {        Attributes attrs = new BasicAttributes( true );        Attribute attr = new BasicAttribute( "ou" );        attr.add( "users" );        attr.add( "dummyValue" );        attrs.put( attr );        sysRoot.modifyAttributes( "ou=users", DirContext.ADD_ATTRIBUTE, attrs );        Attribute ou = sysRoot.getAttributes( "ou=users" ).get( "ou" );        assertTrue( ou.contains( "users" ) );        assertTrue( ou.contains( "dummyValue" ) );        attr.add( "another" );        ModificationItem[] mods = new ModificationItem[] {            new ModificationItem( DirContext.ADD_ATTRIBUTE, attr )        };        sysRoot.modifyAttributes( "ou=users", mods );        ou = sysRoot.getAttributes( "ou=users" ).get( "ou" );        assertTrue( ou.contains( "users" ) );        assertTrue( ou.contains( "dummyValue" ) );        assertTrue( ou.contains( "another" ) );    }