public function _reconfigure($config)
    {
        $this->config = array_merge($this->backupConfig, $config);
        $this->onReconfigure();
        $this->validateConfig();
    }
public function _reconfigure($config)
    {
        $this->config = array_merge($this->backupConfig, $config);
        $this->onReconfigure();
        $this->validateConfig();
    }
public function _reconfigure ( $ config ) { $ this -> config = array_merge ( $ this -> backupConfig , $ config ) ; $ this -> onReconfigure ( ) ; $ this -> validateConfig ( ) ; }
Allows to redefine config for a specific test.
Config is restored at the end of a test.

```php
<?php
// cleanup DB only for specific group of tests
public function _before(Test $test) {
if (in_array('cleanup', $test->getMetadata()->getGroups()) {
$this->getModule('Db')->_reconfigure(['cleanup' => true]);
}
}
```

@param $config
@throws Exception\ModuleConfigException
@throws ModuleException
Allows to redefine config for a specific test . Config is restored at the end of a test .