}
public void testConvertPathToStack_NonRootRelativeDirectory()
{
Stack<CloudStorePathNode> expected = new Stack<CloudStorePathNode>();
expected.push( new CloudStorePathNode("foo", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("bat", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("bang", PathNodeType.DIRECTORY ) );
Stack<CloudStorePathNode> stack =
PathUtil.convertPathToStack("bat/bang/", true, new CloudStorePath("/foo/"));
assertTrue( expected.equals(stack) );