public static void RoutineName_PropertyGet_EqualsCtorArg()
        {
            Identifier routineName = "test_routine";
            var        comments    = new DatabaseRoutineComments(routineName, Option <string> .None);

            Assert.That(comments.RoutineName, Is.EqualTo(routineName));
        }
        public static void Comment_PropertyGetWhenCtorGivenValidCommentValue_MatchesCommentValue()
        {
            const string commentText = "this is a test comment";
            var          commentArg  = Option <string> .Some(commentText);

            var comments = new DatabaseRoutineComments("test_routine", commentArg);

            Assert.That(comments.Comment.UnwrapSome(), Is.EqualTo(commentText));
        }
        public static void Comment_PropertyGetWhenCtorGivenNone_IsNone()
        {
            var comments = new DatabaseRoutineComments("test_routine", Option <string> .None);

            Assert.That(comments.Comment, OptionIs.None);
        }