public function testGetDatetimeFormat() { $this->assertEquals('Y-m-d H:i:s', $this->config->getDatetimeFormat()); $this->setConfig(array('datetime_format' => 'Y-m-d')); $this->assertEquals('Y-m-d', $this->config->getDatetimeFormat()); }