protected void assertPath( Path path, Node... nodes )
{
int i = 0;
for ( Node node : path.nodes() )
{
<BUG>assertEquals( nodes[i++], node );
}</BUG>
assertEquals( nodes.length, i );
}
protected <E> void assertContains( Iterable<E> actual, E... expected )

protected void assertPath( Path path, Node... nodes )
{
int i = 0;
for ( Node node : path.nodes() )
{
assertEquals( "Wrong node " + i + " in " + getPathDef( path ),
nodes[i++], node );
}
assertEquals( nodes.length, i );
}
protected <E> void assertContains( Iterable<E> actual, E... expected )
