public void Should_return_one_like_when_only_one_like_added() { ProductAnalysis liker = new ProductAnalysis(); liker.LikeProduct(); int numberLikes = liker.GetNumberLikes(); Assert.AreEqual(1, numberLikes); }
public void Should_return_one_like_when_only_one_like_added() { ProductAnalysis liker = new ProductAnalysis(); liker.LikeProduct(); int numberLikes = liker.GetNumberLikes(); Check.That(numberLikes).IsEqualTo(1); }