Ejemplo n.º 1
0
        public void CheckDataCodesWhenFormatDataIsCorrect()
        {
            // Arrange
            var expected = new Dictionary <string, int>
            {
                { "THB", 1 },
                { "USD", 2 },
                { "CZK", 3 },
            };
            var codes = new[] { "THB", "USD", "CZK" };
            // Act
            var actual = _exchangeHelper.AddCodes(codes);

            // Assert
            Assert.That(actual, Is.EqualTo(expected));
        }