public void SetUp() { _messagePublisher = A.Fake <IMessagePublisher>(); _dao = A.Fake <ITlsRptApiDao>(); _config = A.Fake <ITlsRptApiConfig>(); _tlsRptService = new TlsRptService(_messagePublisher, _dao, _config); }
public TlsRptController(ITlsRptApiDao dao, IMessagePublisher messagePublisher, ITlsRptApiConfig config, ITlsRptService tlsRptService) { _dao = dao; _messagePublisher = messagePublisher; _config = config; _tlsRptService = tlsRptService; }
public TlsRptService(IMessagePublisher messagePublisher, ITlsRptApiDao dao, ITlsRptApiConfig config) { _messagePublisher = messagePublisher; _dao = dao; _config = config; }