Hello,
I need to fake HttpContext.Current.Application
table to access it from my unit tests.
I need to store my data somewhere. I thought that I can just pass instance of NameValueCollectionBase
but as I descover this base type has no indexer so it's too complicated to use.
So what about faking this part of HttpContext
? Is it possible? How can I make it? Will be NUnit.Mocks
helpful?
Thank you in advice...