Esempio n. 1
0
            public void Increments_the_number_of_likes_by_one()
            {
                // Arrange
                var @catch     = new Catch();
                int likesCount = @catch.Likes;

                // Act
                @catch.OnCatchLiked(new CatchLikedEvent());

                // Assert
                Assert.That(@catch.Likes, Is.EqualTo(likesCount + 1), "The catch like count was not incremented correctly.");
            }