public function testIGetARedMessageWithSnacksWarningEating()
 {
     $questionnaire = new Questionnaire(new Person());
     $questionnaire->getEating()->setProteinChoice('ham')->setCheeseChoice('hard cheese')->setPotatoesChoice('chips')->setDailySnackChoice('sweets, crisps, biscuits, cake')->setCompletedDate(new \DateTime());
     $questionnaire->getAboutYou()->getFeelings()->setWeight(25);
     $expected = array('eating' => array('eating_red', 'eating_red_low_weight'));
     $this->assertEquals($expected, $this->instance->buildNarrative($questionnaire)->getMessages());
 }
 /**
  * @param Questionnaire $questionnaire
  */
 protected function buildEatingNarrative(Questionnaire $questionnaire)
 {
     if (EatingSpecification::isSatisfiedBy($questionnaire)) {
         $enb = new EatingNarrativeBuilder();
         $narrative = $enb->buildNarrative($questionnaire);
         $this->narrative->merge($narrative);
     }
 }