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