public override IController CreateController(RequestContext requestContext, string controllerName)
        {
            if (controllerName.Equals("My"))
            {
                return(iocContainer.Resolve <Controller>());
            }

            return(base.CreateController(requestContext, controllerName));
        }
 public void test_Resolve_WhenCalledForUnregisteredInterface_ThrowsMeaningfulException()
 {
     IInterface2 result = systemUnderTest.Resolve <IInterface2>();
 }