@Test
public void fileShouldBeASubPathOfTheGivenDir()
{
Node node = new TestNode(mockRootNode, null, new File(TEST_DIR));
assertEquals(new File(node.dir(), "path/to-file").getAbsolutePath(), node.file("path/to-file").getAbsolutePath());
}
@Test
public void fileShouldReturnAnUnrootedFileIfDirIsNull()
{