Beispiel #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);
 }
 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;
 }