예제 #1
0
        public void Null_ExpressionsList_to_ExchangeTo_then_throw_exception()
        {
            //Given
            IExchangeService exchange = new ExchangeService();
            //When
            ArgumentException exception = Assert.Throws <ArgumentException>(
                () => exchange.ExchangeTo("USD")
                );

            //Then
            Assert.Contains("ExpressionsList can not be empty", exception.Message);
        }