Exemplo n.º 1
0
 public SystemTimeValidator(INtpClient ntpClient, IModals modals, ILogger logger)
 {
     _ntpClient      = ntpClient;
     _modals         = modals;
     _logger         = logger;
     _validateAction = new SingleAction(ValidateTime);
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     _ntpClient = Substitute.For <INtpClient>();
     _modals    = Substitute.For <IModals>();
     _logger    = Substitute.For <ILogger>();
 }