mock'ing phalanger httpcontext
Posted: September 9th, 2012, 9:47 pm
in wanting to do some mock'ing, i have found i can't mock into
this class/method as it uses HttpContext, rather then
a mockable HttpContextBase.
Would it be a big job (Phalanger team, or me) to put HttpContext Base into
this code? Just wondering if it would cascade into a more complex task?
public static RequestContext/*!*/ Initialize(ApplicationContext/*!*/ appContext, HttpContext/*!*/ context)
-tl
this class/method as it uses HttpContext, rather then
a mockable HttpContextBase.
Would it be a big job (Phalanger team, or me) to put HttpContext Base into
this code? Just wondering if it would cascade into a more complex task?
public static RequestContext/*!*/ Initialize(ApplicationContext/*!*/ appContext, HttpContext/*!*/ context)
-tl