Skip to content

Instantly share code, notes, and snippets.

View CiprianPorumbescu's full-sized avatar

CiprianPorumbescu

View GitHub Profile
@johnnyreilly
johnnyreilly / DemoAreaRegistration.cs
Last active October 29, 2019 13:43
What you need to unit test MVC controllers using MOQ.
using System.Web.Mvc;
namespace DemoApp.Areas.Demo
{
public class DemoAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{