Ejemplo n.º 1
0
        public static async Task GetSequenceComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();
            var comment  = provider.GetSequenceComments("test_sequence");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

            Assert.That(isNone, Is.True);
        }
Ejemplo n.º 2
0
        public static void GetSequenceComments_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyRelationalDatabaseCommentProvider();

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