public void TestInitialize()
        {
            EducationContext = new EducationDataContext();
            Container        = AssemblySetup.CreateWindsorContainer(EducationContext);
            RepositoryContainer repositoryContainer = new RepositoryContainer(Container, EducationContext);

            Target = new ServiceAttendanceManager(repositoryContainer, new DataTableBinder());
            User   = new EducationSecurityPrincipal(new UserRepository(EducationContext).Items.Where(s => s.UserKey == "Bob").Include("UserRoles.Role").Single());
        }
 public void InitializeTest()
 {
     Target = new ServiceAttendanceManager(Repositories.MockRepositoryContainer, MockDataTableBinder);
 }
 public void InitializeTest()
 {
     Target = new ServiceAttendanceManager(Repositories.MockRepositoryContainer, MockDataTableBinder);
 }
 public void TestInitialize()
 {
     EducationContext = new EducationDataContext();
     Container = AssemblySetup.CreateWindsorContainer(EducationContext);
     RepositoryContainer repositoryContainer = new RepositoryContainer(Container, EducationContext);
     Target = new ServiceAttendanceManager(repositoryContainer, new DataTableBinder());
     User = new EducationSecurityPrincipal(new UserRepository(EducationContext).Items.Where(s => s.UserKey == "Bob").Include("UserRoles.Role").Single());
 }