public TlsRptRuaService(ITlsRptEntityHistoryConfig tlsRptEntityHistoryConfig, IMessageDispatcher dispatcher, ITlsRptRuaValidator ruaValidator, ILogger <TlsRptRuaService> log) { _tlsRptEntityHistoryConfig = tlsRptEntityHistoryConfig; _dispatcher = dispatcher; _ruaValidator = ruaValidator; _log = log; }
public void SetUp() { _log = A.Fake <ILogger <TlsRptRuaService> >(); _config = A.Fake <ITlsRptEntityHistoryConfig>(); _dispatcher = A.Fake <IMessageDispatcher>(); _ruaValidator = new TlsRptRuaValidator(); _tlsRptRuaService = new TlsRptRuaService(_config, _dispatcher, _ruaValidator, _log); }
public void SetUp() { _entityDao = A.Fake <ITlsRptEntityHistoryDao>(); _tlsRptEntityHistoryConfig = A.Fake <ITlsRptEntityHistoryConfig>(); _dispatcher = A.Fake <IMessageDispatcher>(); _log = A.Fake <ILogger <TlsRptEntityHistory> >(); _tlsRptRuaService = A.Fake <ITlsRptRuaService>(); _historyEntity = new TlsRptEntityHistory(_dispatcher, _log, _entityDao, _tlsRptEntityHistoryConfig, _tlsRptRuaService); }
public TlsRptEntityHistory( IMessageDispatcher dispatcher, ILogger <TlsRptEntityHistory> log, ITlsRptEntityHistoryDao dao, ITlsRptEntityHistoryConfig tlsRptEntityHistoryConfig, ITlsRptRuaService ruaService) { _dispatcher = dispatcher; _dao = dao; _tlsRptEntityHistoryConfig = tlsRptEntityHistoryConfig; _log = log; _ruaService = ruaService; }