public void SetUp() { _messagePublisher = A.Fake <IMessagePublisher>(); _dao = A.Fake <ISpfApiDao>(); _config = A.Fake <ISpfApiConfig>(); _spfService = new SpfService(_messagePublisher, _dao, _config); }
public void SetUp() { _dao = A.Fake <ISpfApiDao>(); _messagePublisher = A.Fake <IMessagePublisher>(); _config = A.Fake <ISpfApiConfig>(); _spfService = A.Fake <ISpfService>(); _log = A.Fake <ILogger <SpfController> >(); _sut = new SpfController(_dao, _messagePublisher, _config, _spfService); }
public SpfController(ISpfApiDao dao, IMessagePublisher messagePublisher, ISpfApiConfig config, ISpfService spfService) { _dao = dao; _messagePublisher = messagePublisher; _config = config; _spfService = spfService; }
public SpfService(IMessagePublisher messagePublisher, ISpfApiDao dao, ISpfApiConfig config) { _messagePublisher = messagePublisher; _dao = dao; _config = config; }