예제 #1
0
        public void ToString_InvokeNonZero_ReturnsSummary()
        {
            var commentsSummary = new CommentsSummary {
                TotalCount = 10
            };

            Assert.Equal("10", commentsSummary.ToString());
        }
예제 #2
0
        public void ToString_InvokeZero_ReturnsSummary()
        {
            var commentsSummary = new CommentsSummary();

            Assert.Equal("0", commentsSummary.ToString());
        }