예제 #1
0
 public void Init()
 {
     _userRepository = new Mock <IUserRepository>();
     _service        = new MyService(_userRepository.Object);
 }
예제 #2
0
 public void SetUp()
 {
     MyService.Initialize();
 }
예제 #3
0
 public void Init()
 {
     _userRepository = Substitute.For <IUserRepository>();
     _service        = new MyService(_userRepository);
 }