public function __construct()
 {
     parent::__construct();
     //Setting the locale has to happen in the constructor (using the setUp and tearDown methods doesn't work)
     //This is because the test relies on the yaml file being interpreted according to a particular date format
     //and this setup occurs before the setUp method is run
     $this->local = i18n::config()->get('default_locale');
     i18n::config()->update('default_locale', 'en_US');
 }