public InstallerDirectory(string vP2InstallerDirectoryPath,IFileManager directoryInformation) { if (string.IsNullOrEmpty(vP2InstallerDirectoryPath)) { throw new FileNotFoundException("PATH URI IS EMPTY"); } if (!directoryInformation.doesFilePathExist(vP2InstallerDirectoryPath)) { throw new FileNotFoundException("COULD NOT FIND DIRECTORY AT FILE PATH"); } this.vP2InstallerDirectoryPath = vP2InstallerDirectoryPath; this.directoryInformation = directoryInformation; }