public RegistrationHandler(IMessage message,
                            RegistrationCache registrationCache, ILineNotifySubscription lineNotifySubscription)
 {
     _message                = message;
     _registrationCache      = registrationCache;
     _lineNotifySubscription = lineNotifySubscription;
 }
Example #2
0
 public void Setup()
 {
     _message = Substitute.For <IMessage>();
     _lineNotifySubscription = Substitute.For <ILineNotifySubscription>();
     _registrationCache      = new RegistrationCache();
     _registrationHandler    = new StubRegistrationHandler(_message, _registrationCache, _lineNotifySubscription);
     _lineNotifySubscription.GenerateLink(Arg.Any <string>()).Returns(_link);
 }
Example #3
0
 public StubRegistrationHandler(IMessage message,
                                RegistrationCache registrationCache, ILineNotifySubscription lineNotifySubscription) : base(message, registrationCache, lineNotifySubscription)
 {
 }