public static async Task AnalyseSequences_GivenSequenceWithNameContainingReservedKeyword_ProducesMessages()
        {
            var rule         = new ReservedKeywordNameRule(CreateFakeDialect(), RuleLevel.Error);
            var sequenceName = new Identifier("SELECT");

            var sequence = new DatabaseSequence(
                sequenceName,
                1,
                1,
                1,
                100,
                true,
                10
                );
            var sequences = new[] { sequence };

            var hasMessages = await rule.AnalyseSequences(sequences).AnyAsync().ConfigureAwait(false);

            Assert.That(hasMessages, Is.True);
        }
        public static void AnalyseSequences_GivenNullSequences_ThrowsArgumentNullException()
        {
            var rule = new ReservedKeywordNameRule(CreateFakeDialect(), RuleLevel.Error);

            Assert.That(() => rule.AnalyseSequences(null), Throws.ArgumentNullException);
        }