public NoOutboxReadTests()
        {
            _noOpStore = new NoOpOutbox();
            var messageEarliest = new Message(new MessageHeader(Guid.NewGuid(), "test_topic", MessageType.MT_DOCUMENT), new MessageBody("message body"));

            _noOpStore.Add(messageEarliest);
        }
Exemplo n.º 2
0
        public void When_writing_to_noopstore()
        {
            _exception = Catch.Exception(() => _noOpStore.Add(_messageEarliest));

            //_should_not_cause_exception
            _exception.Should().BeNull();
        }