public void GetProducts() { // Act List <Product> products = Consume.GetProducts(); // Assert var items = Assert.IsType <List <Product> >(products); bool isEmpty = !items.Any(); Assert.False(isEmpty); }