Exemplo n.º 1
0
        public void ToString_Get_ReturnsExepcted()
        {
            var reactionsSummary = new ReactionsSummary();

            Assert.Equal(0, reactionsSummary.TotalCount);
            Assert.Equal(ReactionType.None, reactionsSummary.ViewerReaction);
        }
Exemplo n.º 2
0
        public void ToString_InvokeNonZero_ReturnsSummary()
        {
            var reactionsSummary = new ReactionsSummary {
                TotalCount = 10
            };

            Assert.Equal("10", reactionsSummary.ToString());
        }
Exemplo n.º 3
0
        public void ToString_InvokeZero_ReturnsSummary()
        {
            var reactionsSummary = new ReactionsSummary();

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