* Test a valid type for an AttributeTypeAndValue
*/
@Test
public void testAttributeTypeAndValueValidType() throws LdapException
{
Ava atav = new Ava( schemaManager, "CN", (String)null );
assertEquals( "CN=", atav.toString() );
assertEquals( "2.5.4.3=", atav.getNormName() );
assertEquals( "CN=", atav.getUpName() );
atav = new Ava( schemaManager, " CN ", (String)null );
assertEquals( " CN =", atav.toString() );
assertEquals( "2.5.4.3=", atav.getNormName() );
assertEquals( " CN =", atav.getUpName() );
atav = new Ava( schemaManager, "cn", (String)null );
assertEquals( "cn=", atav.toString() );
assertEquals( "2.5.4.3=", atav.getNormName() );
assertEquals( "cn=", atav.getUpName() );
atav = new Ava( schemaManager, " cn ", (String)null );
assertEquals( " cn =", atav.toString() );
assertEquals( "2.5.4.3=", atav.getNormName() );
assertEquals( " cn =", atav.getUpName() );
}