/**
  * @covers CSanquer\FakeryGenerator\Model\Config::updateVariableMaxTimestamp
  */
 public function testUpdateVariableMaxTimestamp()
 {
     $variable = new Variable('birthday', 'date', [], false, false, '2000-01-01 08:00:00');
     $this->assertEquals(new \DateTime('2000-01-01 08:00:00'), $variable->getMaxTimestamp());
     $this->config->addVariable($variable);
     $this->config->setMaxTimestamp('2014-06-30 00:00:00');
     $this->config->updateVariableMaxTimestamp();
     $this->assertEquals(new \DateTime('2014-06-30 00:00:00'), $variable->getMaxTimestamp());
 }