Mock HttpContext using moq Framework

Moq is a framework that allows us to simulate dependencies at test time and monitor how our system under test interacts with them under various circumstances. Mock objects allow you to mimic the behavior of classes and interfaces, letting the code in the test interact with them as if they were real.  In a project … Continue reading Mock HttpContext using moq Framework