save = new Save();
}
public void testTreeConversion() throws Exception
{
HashTree tree = new ListedHashTree();
JMeterGUIComponent root = new org.apache.jmeter.config.gui.ArgumentsPanel();
tree.add(root,root);
tree.getTree(root).add(root,root);
save.convertSubTree(tree);
assertEquals(tree.getArray()[0].getClass().getName(),root.createTestElement().getClass().getName());
tree = tree.getTree(tree.getArray()[0]);
assertEquals(tree.getArray()[0].getClass().getName(),
root.createTestElement().getClass().getName());
assertEquals(tree.getTree(tree.getArray()[0]).getArray()[0].getClass().getName(),
root.createTestElement().getClass().getName());
}