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