}
public void testConvertPathToStack_MultipleCurrentDirChars()
{
Stack<CloudStorePathNode> expected = new Stack<CloudStorePathNode>();
expected.push( new CloudStorePathNode("foo", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("biz", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("bat", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("bang", PathNodeType.DIRECTORY ) );
expected.push( new CloudStorePathNode("somefile.txt", PathNodeType.FILE ) );
Stack<CloudStorePathNode> stack =
PathUtil.convertPathToStack("/foo/././biz/bat/./bang/somefile.txt", false, PathUtil.ROOT_DIRECTORY);
assertTrue( expected.equals(stack) );