Examples of toClientAttribute()


Examples of org.apache.directory.shared.ldap.entry.DefaultServerAttribute.toClientAttribute()

    @Test
    public void testToClientAttribute()
    {
        EntryAttribute attribute = new DefaultServerAttribute( atCN, "test", "test2" );
       
        EntryAttribute clientAttribute = attribute.toClientAttribute();
       
        assertTrue( clientAttribute instanceof EntryAttribute );
       
        assertTrue( clientAttribute.contains( "test", "test2" ) );
        assertEquals( "cn", clientAttribute.getId() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.