public void ThreeArgumentConstructor_EmptyAppDataFolder_UseDefault()
 {
     // initializes the file manager with the [populated] assembly information for the CompUhaul project.
     microManager manager = new microManager(String.Empty, "Schtuff", String.Empty);
     string _expectedPath = _defaultAppDataDirectory;
     Assert.AreEqual(_expectedPath, manager.AppDataPath);
 }
 public void SingleArgumentConstructor_FilledAssemblyInfo_CompanyFolderGenerated()
 {
     // initializes the file manager with the [populated] assembly information for the CompUhaul project.
     microManager manager = new microManager(Assembly.GetAssembly(typeof(fileManager)));
     string _expectedPath = _defaultAppDataDirectory + _expectedCompanyFolder;
     Assert.AreEqual(_expectedPath, manager.CompanyFolderPath);
 }
 public void TwoArgumentConstructor_EmptyApplicationFolder_ApplicationFolderNameIsAssemblyGuid()
 {
     // initializes the file manager with the [populated] assembly information for the CompUhaul project.
     microManager manager = new microManager("Yesh", String.Empty);
     string _expectedPath = _defaultAppDataDirectory + "\\Yesh" + _defaultApplicationFolder;
     Assert.AreEqual(_expectedPath, manager.ApplicationFolderPath);
 }
 public void SingleArgumentConstructor_UnFilledAssemblyInfo_ExceptionThrown()
 {
     // initializes the file manager with the [unpopulated] assembly information for this test project.
     microManager manager = new microManager();
 }
 public void SingleArgumentConstructor_NullAssembly_ExceptionThrown()
 {
     microManager manager = new microManager(null);
 }
 public void TwoArgumentConstructor_NullCompanyFolder_CompanyFolderGenerated()
 {
     // initializes the file manager with the [populated] assembly information for the CompUhaul project.
     microManager manager = new microManager(null, "Schtuff");
     string _expectedPath = _defaultAppDataDirectory + _defaultCompanyFolder;
     Assert.AreEqual(_expectedPath, manager.CompanyFolderPath);
 }