public function testGetSetDoYouSmoke()
 {
     $expected = 'Sometimes';
     $this->assertEmpty($this->instance->getDoYouSmoke());
     $this->assertTrue($this->instance->setDoYouSmoke($expected) instanceof Smoking);
     $this->assertEquals($expected, $this->instance->getDoYouSmoke());
 }
 /**
  * @param Smoking      $smoking
  * @param ParamFetcher $paramFetcher
  * @return Questionnaire
  * @throws \Exception
  */
 public function updateSmoking(Smoking $smoking, ParamFetcher $paramFetcher)
 {
     $entityManager = $this->getEntityManager();
     $smoking->setDoYouSmoke($paramFetcher->get('do_you_smoke'))->setCompletedDate(new \DateTime());
     $entityManager->persist($smoking);
     $entityManager->flush();
     return $this->getQuestionnaireFromSmoking($smoking);
 }