public async Task Consume_one_message(SingleTableDatabaseFixure.TableRow row)
        {
            await _dbFixture.InsertRows(new[] { row });

            var consumed = _handler.Consumed.Select(x => true).ToArray();

            consumed.Length.ShouldBe(1);
            IsSame(row, consumed.First().Context.Message).ShouldBeTrue();
        }
 private static bool IsSame(SingleTableDatabaseFixure.TableRow row, TestMessage message)
 => row.DateValue.ToString(CultureInfo.InvariantCulture)
 == message.DateValue.ToString(CultureInfo.InvariantCulture) &&
 row.IntValue == message.IntValue &&
 row.StringValue == message.StringValue;