public function testGetDatetimeObject()
{
$this->assertEquals(date_create('2 months ago'), $this->helper->getDatetimeObject('2 months ago'));
$this->assertEquals(date_create('now'), $this->helper->getDatetimeObject(time()));
$this->assertEquals(date_create('now'), $this->helper->getDatetimeObject());
$this->assertEquals(date_create('now'), $this->helper->getDatetimeObject(null));
}