public PublicationTests() { _serializer = new JsonMessageSerializer(); _blobStorage = new InMemoryBlobStorage(); _mapper = new InMemoryRecordMapper<FakePublicationRecord>(); _publicationRegistry = new FakeRegistry(_mapper, _blobStorage, _serializer); _channel = new InMemoryMessageChannel(); }
public DefaultPublisher( IPublicationRegistry<IPublicationRecord, IPublicationRecord> publicationRegistry, IMessageChannel channel) { _publicationRegistry = publicationRegistry; _channel = channel; }