assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret" ));
assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret".getBytes() ));
    public void test1AdminAccountCreation() throws NamingException    {        DirContext ctx = ( DirContext ) sysRoot.lookup( "uid=admin" );        Attributes attrs = ctx.getAttributes( "" );        performAdminAccountChecks( attrs );        assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret" ));    }