Esempio n. 1
0
 public VideoServiceShould()
 {
     MockUOW.SetupGet(uow => uow.VideoRepository).Returns(MockVideoRepository.Object);
     _service = new VideoService(MockDALFacade.Object);
 }
Esempio n. 2
0
 public UserServiceShould()
 {
     MockUOW.SetupGet(uow => uow.UserRepository).Returns(MockUserRepository.Object);
     _service = new UserService(MockDALFacade.Object);
 }