public IncomingMessageProcessor(IMessageRepository messageRepository, ITagRepository tagRepository, IMessageParser messageParser, IValidMessageReceiver validMessageReceiver, IAllMessageReceiver allMessageReceiver) { _messageRepository = messageRepository; _messageParser = messageParser; _tagRepository = tagRepository; _validMessageReceiver = validMessageReceiver; _allMessageReceiver = allMessageReceiver; }
public TestPushToCouchDBReceiver() { _messageRepository = new MessageRepository(); _tagRepository = new TagRepository(); _target = new PushToCouchDBReceiver() { CouchServer = "http://*****:*****@chchneeds.couchone.com", CouchDB = "unit_test" }; }