示例#1
0
        public static async Task GetTableComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();
            var comment  = provider.GetTableComments("test_table");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

            Assert.That(isNone, Is.True);
        }
示例#2
0
        public static void GetTableComments_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();

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