Beispiel #1
0
        public static async Task GetSequenceComments_GivenValidName_ReturnsNone()
        {
            var provider = new EmptyDatabaseSequenceCommentProvider();
            var comment  = provider.GetSequenceComments("test_sequence");
            var isNone   = await comment.IsNone.ConfigureAwait(false);

            Assert.That(isNone, Is.True);
        }
Beispiel #2
0
        public static void GetSequenceComments_GivenNullName_ThrowsArgumentNullException()
        {
            var provider = new EmptyDatabaseSequenceCommentProvider();

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