/**
  * @param Motivations $motivations
  * @return array
  */
 public static function extractMotivations(Motivations $motivations)
 {
     return array("motivationsWeight" => true === $motivations->isWeight() ? "true" : "false", "motivationsEnergy" => true === $motivations->isEnergy() ? "true" : "false", "motivationsBodyPain" => true === $motivations->isBodyPain() ? "true" : "false", "motivationsFeelYounger" => true === $motivations->isFeelYounger() ? "true" : "false", "motivationsIndependence" => true === $motivations->isIndependence() ? "true" : "false", "motivationsAlertness" => true === $motivations->isAlertness() ? "true" : "false", "motivationsSocialLife" => true === $motivations->isSocialLife() ? "true" : "false", "motivationsAppearance" => true === $motivations->isAppearance() ? "true" : "false", "motivationsFamily" => true === $motivations->isFamily() ? "true" : "false", "motivationsCompleted" => true === $motivations->isCompleted() ? "true" : "false");
 }
 public function testGetSetAlertness()
 {
     $this->assertFalse($this->instance->isAlertness());
     $this->assertTrue($this->instance->setAlertness(true) instanceof Motivations);
     $this->assertTrue($this->instance->isAlertness());
 }