Ejemplo n.º 1
0
 public void UpdateProfanityUrlTriggerCount_ValidCounts_ReturnsModifiedCounts()
 {
     Article target = new Article(); 
     bool profanityTriggered = true; 
     bool nonAllowedURLsTriggered = true; 
     target.UpdateProfanityUrlTriggerCount(profanityTriggered, nonAllowedURLsTriggered);
     Assert.AreEqual(1, target.ProfanityTriggered);
     Assert.AreEqual(1, target.NonAllowedUrlsTriggered);
 }