title: Unit testing AccountController from default ASP.Net MVC 4 Application project
body: <p>I'm working on MVC4 application and interested in creating a set of controller unit tests. All my attempts to unit test methods from AccountController end up with the same exception related to <code>WebMatrix.WebData.WebSecurity:</code></p>
  
  <p><strong>To call this method, the "Membership.Provider" property must be an instance of "ExtendedMembershipProvider".</strong></p>
  
  <p>I'm using <code>SimpleMemebership</code> provider that is being initialized through <code>InitializeSimpleMembershipAttribute</code></p>
  
  <p>Can someone provide guidance how to do this properly?</p>