Page 1 of 1

mock'ing phalanger httpcontext

PostPosted: September 9th, 2012, 9:47 pm
by tleslie
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