Beispiel #1
0
        public void AddRange_NullArticlesPassed_Throws()
        {
            ArticleRepository     repository   = CreateRepository();
            IEnumerable <Article> nullArticles = null;

            var exception = Assert.Throws <ArgumentNullException>(
                () => repository.AddRange(nullArticles));
        }