public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock <IEducationContext>();
     MockDbSet   = MockRepository.GenerateMock <IDbSet <CustomFieldCategory> >();
     MockContext.Expect(m => m.CustomFieldCategories).Return(MockDbSet);
     Target = new CustomFieldCategoryRepository(MockContext);
 }
 public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock<IEducationContext>();
     MockDbSet = MockRepository.GenerateMock<IDbSet<CustomFieldCategory>>();
     MockContext.Expect(m => m.CustomFieldCategories).Return(MockDbSet);
     Target = new CustomFieldCategoryRepository(MockContext);
 }