public void InitializeTest()
 {
     Target   = new StudentProfileExportDataMapper();
     TestData = new TestData();
     User     = new EducationSecurityPrincipal(new User {
         UserKey = "whatever"
     });
     PermissionFactory.SetCurrent(MockRepository.GenerateMock <IPermissionFactory>());
     MockUserAuditor = MockRepository.GenerateMock <IUserAuditor>();
     User.Identity.User.PrivateHealthDataViewEvents = new List <PrivateHealthDataViewEvent>();
 }
 public void InitializeTest()
 {
     Target = new StudentProfileExportDataMapper();
     TestData = new TestData();
     User = new EducationSecurityPrincipal(new User { UserKey = "whatever" });
     PermissionFactory.SetCurrent(MockRepository.GenerateMock<IPermissionFactory>());
     MockUserAuditor = MockRepository.GenerateMock<IUserAuditor>();
     User.Identity.User.PrivateHealthDataViewEvents = new List<PrivateHealthDataViewEvent>();
 }