This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Testing | |
{ | |
public class NewsController_LatestNews | |
{ | |
[Theory] | |
[AutoData] | |
public void Should_be_news_items_ordered_by_date_descending(IEnumerable<NewsResultItem> newsResultItems) | |
{ | |
var searchContext = Substitute.For<IProviderSearchContext>(); | |
var queryable = new LuceneProviderQueryableStub(enumerable); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.Cosmos.Table; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Primitives; | |
using RichardSzalay.MockHttp; | |
using System.Collections.Generic; | |
using System.Linq; |