Beispiel #1
0
 public void Setup()
 {
     _frontManagerSetter  = new FrontManagerSetter();
     MockMemberRepository = new Mock <IMemberRepository>();
     PlaygroundTestContext.SetupRepositoryWithData <Member>(MockMemberRepository.As <IRepository <Member> >(), PlaygroundTestContext.Members);
     _frontManagerSetter.InitFrontManager(MockMemberRepository, null);
 }
Beispiel #2
0
 public void Setup()
 {
     _frontManagerSetter = new FrontManagerSetter();
     MockPhotoRepository = new Mock <IPhotoRepository>();
     PlaygroundTestContext.SetupRepositoryWithData <Photo>(MockPhotoRepository.As <IRepository <Photo> >(), PlaygroundTestContext.Photos);
     _frontManagerSetter.InitFrontManager(null, MockPhotoRepository);
 }