/** * testAddFormat * * @return void */ public function testAddFormat() { $format = array('small' => '', 'literal' => '', 'literalWithTime' => '', 'full' => ''); Localize::addFormat('es_ES', $format); $this->assertEqual($format, Localize::getFormat('es_ES')); $this->assertNull(Localize::getFormat('en_ES')); }