@Test
public void getDirectoryDepth() throws IOException
{

   HierarchicalDirectoryBuilder db=new HierarchicalDirectoryBuilder(tmp,3,5);
   for (int j = 0; j < 10; j++)
   {
      File f = db.getDirectory ();
      f = db.getDirectory ();
      for (int i = 0; i < 5; i++)
      {
         File file = new File (f, "file"+i);
         file.createNewFile ();
      }
   }
   File f2 = db.getDirectory ();
   Assert.assertTrue (f2.getAbsolutePath ().contains ("x0/x1"));
}