public function testIncrescentTimeInterval($date, $curDate, $expected)
{
$this->assertEquals($expected, \Scalr_Util_DateTime::getIncrescentTimeInterval($date, $curDate));
$date = DateTime::createFromFormat('Y-m-d H:i:s', $date);
$curDate = DateTime::createFromFormat('Y-m-d H:i:s', $curDate);
$this->assertEquals($expected, \Scalr_Util_DateTime::getIncrescentTimeInterval($date, $curDate));
}