public void SetUp()
 {
     _fakeNotifier = new FakeNotifier();
     _loadBalancerService = new FakeLoadBalancerService();
     _changeLoadBalancerStateTask = new TestChangeLoadBalancerStateTask(
         new ChangeLoadBalancerStateCommand { action = "disable" },
         _loadBalancerService,
         _fakeNotifier);
 }
コード例 #2
0
 public void SetUp()
 {
     _fakeNotifier                = new FakeNotifier();
     _loadBalancerService         = new FakeLoadBalancerService();
     _changeLoadBalancerStateTask = new TestChangeLoadBalancerStateTask(
         new ChangeLoadBalancerStateCommand {
         action = "disable"
     },
         _loadBalancerService,
         _fakeNotifier);
 }