/**
  * Tests if files with variables inside (e.g. "${user.home}/.m2/repository/abc") are deleted.
  *
  * @throws IOException Signals that an I/O exception has occurred.
  */
 @Test
 public void testDeleteDir() throws IOException {
   String dirname = "dir" + System.currentTimeMillis();
   File testDir = new File(FileFixture.getTmpDir(), dirname);
   assertTrue("can't be created: " + testDir, testDir.mkdir());
   FileFixture.deleteDir("${java.io.tmpdir}/" + dirname);
   assertFalse("not deleted: " + testDir, testDir.exists());
 }
 /** Test method for {@link org.openoffice.maven.it.fixture.FileFixture#type()}. */
 @Test
 public void testType() {
   File tmpDir = FileFixture.getTmpDir();
   fixture.file = tmpDir.getAbsolutePath();
   assertEquals("dir", fixture.type());
 }