Methods Summary |
---|
protected void | setUp()
vanillaText = new org.apache.axis.message.Text( VANILLA );
vanillaText2 = new org.apache.axis.message.Text( VANILLA );
chocolateText = new org.apache.axis.message.Text( CHOCOLATE );
nullText = new org.apache.axis.message.Text( NULL );
|
public void | testEquals()Test for {@link org.apache.axis.message.Text#equals(Object)}.
assertEquals( vanillaText, vanillaText2 );
assertEquals( vanillaText2, vanillaText );
assertTrue( !vanillaText.equals( chocolateText ) );
assertTrue( !chocolateText.equals( vanillaText ) );
assertTrue( !vanillaText.equals( null ) );
assertTrue( !vanillaText.equals( VANILLA ) );
|
public void | testHashCode()Test for {@link org.apache.axis.message.Text#hashCode()}.
assertEquals( VANILLA.hashCode(), vanillaText.hashCode() );
assertEquals( 0, nullText.hashCode() );
|
public void | testToString()Test for {@link org.apache.axis.message.Text#toString()}.
assertEquals( VANILLA, vanillaText.toString() );
assertEquals( NULL, nullText.toString() );
|