"<test name=\"bar\"><params><param name=\"param1\"/><param name=\"param2\"/></params><setup><prog name=\"setup1\"/><prog name=\"setup2\"/></setup><support><prog name=\"support1\"/><prog name=\"support2\"/></support><jig><prog name=\"jig1\"/></jig><cleanup><prog name=\"cleanup1\"/><prog name=\"cleanup2\"/></cleanup></test>" ) );
assertSame( itest, t.itest() );
assertEquals( "bar", t.name() );
assertEquals( 2, t.params().size() );
assertTrue( t.params().containsKey( "param1" ) );
assertTrue( t.params().containsKey( "param2" ) );
assertEquals( 2, t.setup().size() );
assertEquals( "setup1", t.setup().get( 0 ).name() );
assertEquals( "setup2", t.setup().get( 1 ).name() );
assertEquals( 2, t.support().size() );
assertEquals( "support1", t.support().get( 0 ).name() );