public void testNbInstallFolder() {
    File f = new File(PathUtil.getInstance().getNbInstallFolder());

    assertTrue(f.exists());

    if (RefactorItActions.isNetBeansFour()) {
      assertEquals("netbeans-4.0", f.getName());
    } else {
      assertEquals("NetBeans3.6", f.getName());
    }
  }
  public void testNbConfigFile() {
    File f = new File(PathUtil.getInstance().getNbConfigFile());

    assertTrue(f.exists());

    if (RefactorItActions.isNetBeansFour()) {
      assertTrue(
          f.getAbsolutePath(),
          f.getAbsolutePath().endsWith(FileUtil.useSystemPS("/netbeans-4.0/etc/netbeans.conf")));
    } else {
      assertTrue(
          f.getAbsolutePath(),
          f.getAbsolutePath().endsWith(FileUtil.useSystemPS("/NetBeans3.6/bin/ide.cfg")));
    }
  }