public void TestSentence4_Wrong_Data()
 {
     var builder = new HealthProfilesKeyMessage4Builder
     {
         data = new KeyMessageData
         {
             AdultSmokingRelatedDeaths = 90,
             AdultSmokingRelatedDeathsPerYear = 19050,
             AdultSmokingRelatedDeathsSignificance = Significance.Same,
         }
     };
     var sentence = builder.GetSentence4();
     Assert.AreNotEqual(
         "The rate of smoking related deaths is 50*. This represents 19,000 deaths per year.",
         sentence);
 }
 public void TestSentence4_Sig_Worse()
 {
     var builder = new HealthProfilesKeyMessage4Builder
     {
         data = new KeyMessageData
         {
             AdultSmokingRelatedDeaths = 50.1,
             AdultSmokingRelatedDeathsPerYear = 19000.2,
             AdultSmokingRelatedDeathsSignificance = Significance.Worse,
         }
     };
     var sentence = builder.GetSentence4();
     Assert.AreEqual(
         "The rate of smoking related deaths is 50*, worse than the average for England. This represents 19,000 deaths per year.",
         sentence);
 }