public void Setup() { _valueProvider = new FormDataPropertyValueProvider(new HttpContextWrapper()); HttpContext.Current = HttpContextHelper.GetHttpContext(); }
public FormDataPropertyValueProviderTests() { _mockHttpContextWrapper = new MockHttpContextWrapper(); _valueProvider = new FormDataPropertyValueProvider(_mockHttpContextWrapper); }
public void Setup() { _valueProvider = new FormDataPropertyValueProvider(); HttpContext.Current = HttpContextHelper.GetHttpContext(); }