public void _testExport() throws Exception
{
Node testNode = root.addNode("testNode");
File checkSummValue = new File(System.getProperty("java.io.tmpdir"), "repo.ssh1");
BufferedOutputStream sshStrream = new BufferedOutputStream(new FileOutputStream(checkSummValue));
RandomValueNodeGenerator nodeGenerator =
new RandomValueNodeGenerator(session.getValueFactory(), 6, 5, 8, 5, 1024 * 1024);
TreeGenerator generator = new TreeGenerator(testNode, nodeGenerator);
generator.genereteTree();
root.save();
ValueSsh1Generator ssh1Generator = new ValueSsh1Generator(session.getTransientNodesManager(), sshStrream);
((NodeImpl)testNode).getData().accept(ssh1Generator);