title: Can not instantiate proxy...Could not find a parameterless constructor
body: <p>I am trying to create a unit test using Moq which tests the <a href="https://github.com/InspectorIT/MongoDB.AspNet.Identity/tree/v2" rel="noreferrer">MongoDB.AspNet.Identity V2</a> provider.  This line is giving me grief:</p>
  
  <pre><code>var appUser = new Mock&lt;PreRegistrationMVC.Models.ApplicationUser&gt;();
  var userStore = new Mock&lt;MongoDB.AspNet.Identity.UserStore&lt;PreRegistrationMVC.Models.ApplicationUser&gt;&gt;();
  </code></pre>
  
  <p>It seems the userStore won't instantiate properly here is the error.</p>
  
  <pre><code>Castle.DynamicProxy.InvalidProxyConstructorArgumentsException was unhandled by user code
    HResult=-2147024809
    Message=Can not instantiate proxy of class: MongoDB.AspNet.Identity.UserStore`1[[MVC.Models.ApplicationUser, MVC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].
  Could not find a parameterless constructor.
    Source=Moq
    StackTrace:
         at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyInstance(Type proxyType, List`1 proxyArguments, Type classToProxy, Object[] constructorArguments)
         at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)
         at Moq.Proxy.CastleProxyFactory.CreateProxy(Type mockType, ICallInterceptor interceptor, Type[] interfaces, Object[] arguments)
         at Moq.Mock`1.&lt;InitializeInstance&gt;b__2()
         at Moq.PexProtector.Invoke(Action action)
         at Moq.Mock`1.InitializeInstance()
         at Moq.Mock`1.OnGetObject()
         at Moq.Mock.GetObject()
         at Moq.Mock.get_Object()
         at Moq.Mock`1.get_Object()
         at MVC_Tests.Identity.Accounts.AccountController_Test.TestSuccessfulRegister() in c:\Users\Tim\Documents\Visual Studio 2013\Projects\PreRegistrationApp\MVC_Tests\Identity\Accounts\AccountController_Test.cs:line 108
    InnerException: 
  </code></pre>
  
  <p>I am completely new to Moq so I am looking for:
  What type of settings are needed for Moq to instantiate this?  Is there something about the UserStore class that won't play well with Moq?</p>
  
  <p>Thanks for reading.</p>