Example #1
0
        public void Method_Throws_ArgumentNullException()
        {
            Assert.Throws <ArgumentNullException>(() =>
                                                  _cardManager.AddAsync(null)
                                                  .GetAwaiter()
                                                  .GetResult());

            Assert.Throws <ArgumentNullException>(() =>
                                                  _cardManager.UpdateAsync(null)
                                                  .GetAwaiter()
                                                  .GetResult());
        }