public void GetDataSourcePath_RunOnce_GetCorrectValue() { var expectedValue = GetDirectoryName(); var value = ConfigurationHandler.GetDataSourcePath(); value = Directory.GetParent(value).FullName; Assert.AreEqual(expectedValue, value); }
public CustomersRepository() { _customersFileName = Constants.CustomersFileName; _customersFilePath = ConfigurationHandler.GetDataSourcePath(); }
public CallNotesService() { _customersRepository = new CustomersRepository(); _callNotesFilePath = Path.Combine(ConfigurationHandler.GetDataSourcePath(), Constants.CallNoteContentFolderName); }