public static async Task GetViewComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyDatabaseViewCommentProvider();
            var comment  = provider.GetViewComments("test_view");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

            Assert.That(isNone, Is.True);
        }
        public static async Task GetAllViewComments_WhenInvoked_DoesNotEnumerateAnyValues()
        {
            var provider    = new EmptyDatabaseViewCommentProvider();
            var hasComments = await provider.GetAllViewComments()
                              .AnyAsync()
                              .ConfigureAwait(false);

            Assert.That(hasComments, Is.False);
        }
        public static void GetViewComments_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyDatabaseViewCommentProvider();

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