public void Setup() { _wrapper = new HttpContextWrapper(); _valueProvider = new RouteDataPropertyValueProvider(_wrapper); HttpContext.Current = HttpContextHelper.GetHttpContext(); }
public RouteDataPropertyValueProviderTests() { _httpContextWrapper = new MockHttpContextWrapper(); _valueProvider = new RouteDataPropertyValueProvider(_httpContextWrapper); }
public void Setup() { _valueProvider = new RouteDataPropertyValueProvider(); HttpContext.Current = HttpContextHelper.GetHttpContext(); }