Beispiel #1
0
        public void ShouldGetReportLogDir()
        {
            const string reportLogDir = "report log dir";

            _configurationProvider
            .Setup(_ => _.GetValue(ConfigurationKeys.AppSettings.ReportLogDir))
            .Returns(reportLogDir);

            var result = _target.GetReportFolderPath();

            result.ShouldBeEquivalentTo(reportLogDir);
        }
        private string GetReportPath()
        {
            var reportRootDir = _reportFolderPathStorage.GetReportFolderPath();

            return(reportRootDir);
        }