예제 #1
0
        public void Export_CurrencyRateListExport_HaveCsvFileResult()
        {
            // Arrange
            var integration    = new TcmbIntegration();
            var currencyExport = new CsvCurrencyExport();
            var currencyHelper = new CurrencyListingHelper();

            // Act
            var response = currencyHelper.Export(integration, currencyExport);

            // Assert
            Assert.Equal("csv", response.Data.Extension);
        }
예제 #2
0
        public void Export_CurrencyRateListExport_HaveFileResult()
        {
            // Arrange
            var integration    = new TcmbIntegration();
            var currencyExport = new CsvCurrencyExport();
            var currencyHelper = new CurrencyListingHelper();

            // Act
            var response = currencyHelper.Export(integration, currencyExport);

            // Assert
            Assert.NotNull(response.Data.FileData);
        }