コード例 #1
0
        public static async Task GetViewComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();
            var comment  = provider.GetViewComments("test_view");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

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

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