@Test
public void newNodesArentCreatedWhenTheItemIsAlreadyCached() throws Exception
{
TestRootNode rootNode = new TestRootNode(new File(TEST_DIR, "brjs-root-node"));
Node childNode1 = rootNode.childNode("1");
assertSame(childNode1, rootNode.childNode("1"));
assertSame(childNode1, rootNode.locateAncestorNodeOfClass(rootNode.childNode("1").grandChildNode("2").dir(), TestChildNode.class));
assertNotSame(childNode1, new TestChildNode(rootNode, childNode1.parentNode(), childNode1.dir(), "1"));
}