public void When_writing_to_noopstore() { _exception = Catch.Exception(() => _noOpStore.Add(_messageEarliest)); //_should_not_cause_exception _exception.Should().BeNull(); }
public NoOpMessageStoreReadTests() { _noOpStore = new NoOpMessageStore(); var messageEarliest = new Message(new MessageHeader(Guid.NewGuid(), "test_topic", MessageType.MT_DOCUMENT), new MessageBody("message body")); _noOpStore.Add(messageEarliest); }
public void Establish() { _noOpStore = new NoOpMessageStore(); _messageEarliest = new Message(new MessageHeader(Guid.NewGuid(), "test_topic", MessageType.MT_DOCUMENT), new MessageBody("message body")); _noOpStore.Add(_messageEarliest); }