public static Mock <IHttpContextAccessor> GivenIHttpContextAccessor( this ValuesExtractorTests tests) { return(new Mock <IHttpContextAccessor>()); }
public static Mock <HttpContext> GivenContext(this ValuesExtractorTests tests) { return(new Mock <HttpContext>()); }
public static IHeaderDictionary GivenHeaders( this ValuesExtractorTests tests, Dictionary <string, StringValues> values) { return(new HeaderDictionary(values)); }
public static IHeaderDictionary GivenEmptyHeaders( this ValuesExtractorTests tests) { return(new HeaderDictionary(new Dictionary <string, StringValues>())); }
public static IValuesExtractor GivenExtractor( this ValuesExtractorTests tests, IHttpContextAccessor accessor) { return(new ValuesExtractor(accessor)); }