Beispiel #1
0
        public void IncludeAll()
        {
            // Arrange + Act
            var changesIncludeBuilder = new ChangesIncludeBuilder();

            changesIncludeBuilder.IncludeComment().IncludeFiles().IncludeVcsRootInstance();

            var columns = changesIncludeBuilder.GetColumns();

            // Assert
            columns.Should().Be("id,version,href,username,date,webUrl,comment,files,vcsRootInstance");
        }
Beispiel #2
0
        public void IncludeComment()
        {
            // Arrange + Act
            var changesIncludeBuilder = new ChangesIncludeBuilder();

            changesIncludeBuilder.IncludeComment();

            var columns = changesIncludeBuilder.GetColumns();

            // Assert
            columns.Should().Be("id,version,href,username,date,webUrl,comment");
        }