public void testInstallerDirectoryDoesNotContainLauncherBinaries()
 {
     FileManagerMock mockWithoutLauncherBinaries = new FileManagerMock();
     InstallerDirectory noLauncherBinaries = new InstallerDirectory("MockPath",
         mockWithoutLauncherBinaries);
     SubDirectory stubLauncherDirectory = noLauncherBinaries.getSubDirectoryByName("");
     Assert.AreEqual(stubLauncherDirectory.doesThisDirectoryExist(), false);
 }
 public void testInstallerDirectoryDoesContainLauncherBinaries()
 {
     FileManagerMock mockWithLauncherBinaries = new FileManagerMock();
     MockSubDirectory publicSafetyLauncherDirectoryName = new MockSubDirectory();
     publicSafetyLauncherDirectoryName.changeDirectoryExistsStatus(true);
     publicSafetyLauncherDirectoryName.changeDirectoryName("PublicSafetyOne Launcher");
     mockWithLauncherBinaries.setSubDirectoriesInDirectory(new List<MockSubDirectory>() { publicSafetyLauncherDirectoryName });
     InstallerDirectory LauncherBinaries = new InstallerDirectory("MockPath",
         mockWithLauncherBinaries);
     SubDirectory stubLauncherDirectory = LauncherBinaries.getSubDirectoryByName("PublicSafetyOne Launcher");
     Assert.AreEqual(stubLauncherDirectory.doesThisDirectoryExist(), true);
 }
 public void nonExistantFilePath()
 {
     FileManagerMock invalidFilePathMock = new FileManagerMock();
     invalidFilePathMock.changeFilePathExistStatus(false);
     InstallerDirectory emptDirectory = new InstallerDirectory("thisIsNotaValidFilePath", invalidFilePathMock);
 }