cmds = new ArrayList<Command>();
cmds.add( new AssertEquals( "Check List size",
5,
new GetGlobalCommand( "list" ),
"size()" ) );
cmds.add( new AssertEquals( "Check Person",
new Person( "bobba",
77 ),
new GetGlobalCommand( "list" ),
"get( 0 )" ) );
cmds.add( new AssertEquals( "Check Person",
new Person( "darth",
97 ),
new GetGlobalCommand( "list" ),
"get( 1 )" ) );
cmds.add( new AssertEquals( "Check Person",
new Person( "luke",
30 ),
new GetGlobalCommand( "list" ),
"get( 2 )" ) );
cmds.add( new AssertEquals( "Check Person",
new Person( "yoda",
98 ),
new GetGlobalCommand( "list" ),
"get( 3 )" ) );
cmds.add( new AssertEquals( "Check Person",
new Person( "ben",
150 ),
new GetGlobalCommand( "list" ),
"get( 4 )" ) );
steps.add( new StepImpl( path,
new TestGroupCommand( "test2",
cmds ),