public RepostCommandHandlerMissingStoreTests() { var fakeMessageStoreFactory = FakeMessageStoreViewerFactory.CreateEmptyFactory(); _command = new RepostCommand { MessageIds = new List <string> { Guid.NewGuid().ToString() }, StoreName = _storeName }; _fakeMessageProducer = new FakeMessageProducer(); _repostHandler = new RepostCommandHandler(fakeMessageStoreFactory, new FakeMessageProducerFactoryProvider(new FakeMessageProducerFactory(_fakeMessageProducer)), new MessageRecoverer()); }
public void Establish() { var modelFactory = FakeMessageStoreViewerFactory.CreateEmptyFactory(); _messageListViewModelRetriever = new MessageListViewModelRetriever(modelFactory); }
public MessageListVIewModelRetrieverFilterNonExistantStoreTests() { var modelFactory = FakeMessageStoreViewerFactory.CreateEmptyFactory(); _messageListViewModelRetriever = new MessageListViewModelRetriever(modelFactory); }