Extends
lithium\test\UnitSource
public function setUp() {
$this->_backup['catalogConfig'] = Catalog::config();
Catalog::reset();
Catalog::config(array(
'runtime' => array('adapter' => new Memory())
));
$data = function($n) { return $n == 1 ? 0 : 1; };
Catalog::write('runtime', 'message.pluralRule', 'root', $data);
$this->_backup['environment'] = Environment::get('test');
Environment::set('test', array('locale' => 'en'));
Environment::set('test');
Message::cache(false);
}