mock'ing phalanger httpcontext
1 post
• Page 1 of 1
mock'ing phalanger httpcontext
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
- tleslie
- Posts: 32
- Joined: August 3rd, 2012, 4:42 am
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests