public void CheckFileSave_WithDirectory_SetsHasDirectoriesToSaveToTrue() { const string directory = "diretory/to/save/to"; var dobermanConfiguration = new DobermanConfiguration(); dobermanConfiguration.CheckFileSave(directory); Assert.That(dobermanConfiguration.HasDirectoriesToSave, Is.True); }
public void CheckFileSave_WithDirectory_AddsToDirectories() { const string directory = "diretory/to/save/to"; var dobermanConfiguration = new DobermanConfiguration(); dobermanConfiguration.CheckFileSave(directory); Assert.That(dobermanConfiguration.Directories.Contains(directory), Is.True); }