Пример #1
0
        public static async Task GetRoutineComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();
            var comment  = provider.GetRoutineComments("test_routine");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

            Assert.That(isNone, Is.True);
        }
Пример #2
0
        public static void GetRoutineComments_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();

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