Beispiel #1
0
 public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock <IEducationContext>();
     MockDbSet   = MockRepository.GenerateMock <IDbSet <ServiceRequestFulfillment> >();
     MockContext.Expect(m => m.ServiceRequestFulfillments).Return(MockDbSet);
     Target   = new ServiceRequestFulfillmentRepository(MockContext);
     TestData = new TestData();
 }
 public void InitializeTest()
 {
     MockContext = MockRepository.GenerateMock<IEducationContext>();
     MockDbSet = MockRepository.GenerateMock<IDbSet<ServiceRequestFulfillment>>();
     MockContext.Expect(m => m.ServiceRequestFulfillments).Return(MockDbSet);
     Target = new ServiceRequestFulfillmentRepository(MockContext);
     TestData = new TestData();
 }