public static async Task GetSequence_GivenValidName_ReturnsNone()
        {
            var provider       = new EmptyDatabaseSequenceProvider();
            var sequence       = provider.GetSequence("sequence_name");
            var sequenceIsNone = await sequence.IsNone.ConfigureAwait(false);

            Assert.That(sequenceIsNone, Is.True);
        }
        public static async Task GetAllSequences_WhenEnumerated_ContainsNoValues()
        {
            var provider     = new EmptyDatabaseSequenceProvider();
            var hasSequences = await provider.GetAllSequences()
                               .AnyAsync()
                               .ConfigureAwait(false);

            Assert.That(hasSequences, Is.False);
        }
        public static void GetSequence_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyDatabaseSequenceProvider();

            Assert.That(() => provider.GetSequence(null), Throws.ArgumentNullException);
        }