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); }
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); }