1

Is it possible to mock

HttpContext.Current.Profile

Currently i have to test(UnitTest) an actionresult which uses profile. please help me out. Thanks in advance.

charan
  • 11
  • 1
  • Possible duplicate of [Moq: unit testing a method relying on HttpContext](http://stackoverflow.com/questions/1214178/moq-unit-testing-a-method-relying-on-httpcontext) – Paul Hunt Aug 02 '16 at 08:05

0 Answers0