コード例 #1
0
 public void SetUp()
 {
     _spfEntityDao            = A.Fake <ISpfEntityDao>();
     _spfEntityConfig         = A.Fake <ISpfEntityConfig>();
     _log                     = A.Fake <ILogger <SpfEntity> >();
     _dispatcher              = A.Fake <IMessageDispatcher>();
     _changeNotifierComposite = A.Fake <IChangeNotifiersComposite>();
     _domainStatusPublisher   = A.Fake <IDomainStatusPublisher>();
     _spfEntity               = new SpfEntity(_spfEntityDao, _spfEntityConfig, _changeNotifierComposite, _log, _dispatcher, _domainStatusPublisher);
 }
コード例 #2
0
        public void SetUp()
        {
            _dao                     = A.Fake <ITlsEntityDao>();
            _log                     = A.Fake <ILogger <TlsEntity.Entity.TlsEntity> >();
            _clock                   = A.Fake <IClock>();
            _tlsEntityConfig         = A.Fake <ITlsEntityConfig>();
            _dispatcher              = A.Fake <IMessageDispatcher>();
            _domainStatusPublisher   = A.Fake <IDomainStatusPublisher>();
            _changeNotifierComposite = A.Fake <IChangeNotifiersComposite>();

            _tlsEntity = new TlsEntity.Entity.TlsEntity(_dao, _clock, _tlsEntityConfig, _dispatcher, _domainStatusPublisher, _changeNotifierComposite, _log);
        }
コード例 #3
0
 public SpfEntity(ISpfEntityDao dao,
                  ISpfEntityConfig spfEntityConfig,
                  IChangeNotifiersComposite changeNotifierComposite,
                  ILogger <SpfEntity> log,
                  IMessageDispatcher dispatcher,
                  IDomainStatusPublisher domainStatusPublisher)
 {
     _dao                     = dao;
     _log                     = log;
     _spfEntityConfig         = spfEntityConfig;
     _changeNotifierComposite = changeNotifierComposite;
     _dispatcher              = dispatcher;
     _domainStatusPublisher   = domainStatusPublisher;
 }
コード例 #4
0
 public TlsEntity(ITlsEntityDao dao,
                  IClock clock,
                  ITlsEntityConfig tlsEntityConfig,
                  IMessageDispatcher dispatcher,
                  IDomainStatusPublisher domainStatusPublisher,
                  IChangeNotifiersComposite changeNotifiersComposite,
                  ILogger <TlsEntity> log)
 {
     _dao   = dao;
     _clock = clock;
     _log   = log;
     _domainStatusPublisher    = domainStatusPublisher;
     _tlsEntityConfig          = tlsEntityConfig;
     _dispatcher               = dispatcher;
     _changeNotifiersComposite = changeNotifiersComposite;
 }