public SqlInboxEmptyWhenSearchedAsyncTests() { _pgTestHelper = new PostgresSqlTestHelper(); _pgTestHelper.SetupCommandDb(); _sqlSqlInbox = new PostgresSqlInbox(_pgTestHelper.InboxConfiguration); }
public SqlInboxEmptyWhenSearchedTests() { _pgTestHelper = new PostgresSqlTestHelper(); _pgTestHelper.SetupCommandDb(); _pgSqlInbox = new PostgresSqlInbox(_pgTestHelper.InboxConfiguration); _contextKey = "context-key"; }
public SqlInboxDuplicateMessageTests() { _pgTestHelper = new PostgresSqlTestHelper(); _pgTestHelper.SetupCommandDb(); _pgSqlInbox = new PostgresSqlInbox(_pgTestHelper.InboxConfiguration); _raisedCommand = new MyCommand { Value = "Test" }; _contextKey = Guid.NewGuid().ToString(); }
public SqlInboxDuplicateMessageAsyncTests() { _pgTestHelper = new PostgresSqlTestHelper(); _pgTestHelper.SetupCommandDb(); _pgSqlInbox = new PostgresSqlInbox(_pgTestHelper.InboxConfiguration); _raisedCommand = new MyCommand { Value = "Test" }; _contextKey = "test-context"; }
public SqlInboxAddMessageTests() { _pgTestHelper = new PostgresSqlTestHelper(); _pgTestHelper.SetupCommandDb(); _pgSqlInbox = new PostgresSqlInbox(_pgTestHelper.InboxConfiguration); _raisedCommand = new MyCommand { Value = "Test" }; _contextKey = "context-key"; _pgSqlInbox.Add(_raisedCommand, _contextKey); }