public void AddRange_WhenCalled_AddsArticles() { // Arrange var articles = new Mock <IEnumerable <Article> >(); // Act service.AddRange(articles.Object); // Assert repository.Verify(x => x.AddRange(articles.Object)); }