public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock <IEducationContext>();
     MockDbSet   = MockRepository.GenerateMock <IDbSet <StudentAssignedOffering> >();
     MockContext.Expect(m => m.StudentAssignedOfferings).Return(MockDbSet);
     Target = new StudentAssignedOfferingRepository(MockContext);
 }
 public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock<IEducationContext>();
     MockDbSet = MockRepository.GenerateMock<IDbSet<StudentAssignedOffering>>();
     MockContext.Expect(m => m.StudentAssignedOfferings).Return(MockDbSet);
     Target = new StudentAssignedOfferingRepository(MockContext);
 }