* @param harness the test harness (<code>null</code> not permitted).
*/
public void test(TestHarness harness)
{
AffineTransform identity = new AffineTransform();
TransformAttribute t = new TransformAttribute(identity);
harness.check(t.getTransform(), identity);
// the transform passed to the constructor should be cloned by the
// constructor, so the references should be different...
harness.check(t.getTransform() != identity);
AffineTransform at = AffineTransform.getTranslateInstance(1.2, 3.4);
t = new TransformAttribute(at);
harness.check(t.getTransform(), at);
// spec doesn't say how to handle null, but RI throws
// IllegalArgumentException
boolean pass = false;
try
{
t = new TransformAttribute(null);
}
catch (IllegalArgumentException e)
{
pass = true;
}