function expectError($error = false, $message = '%s')
 {
     // Because we're testing a definition, it's vital that the cache
     // is turned off for tests that expect errors.
     $this->config->set('Cache.DefinitionImpl', null);
     parent::expectError($error);
 }