public function testConfigToArray()
{
$this->specify("Transform Config to the array does not returns the expected result", function () {
$settings = ['database' => ['adapter' => 'Mysql', 'host' => 'localhost', 'username' => 'scott', 'password' => 'cheetah', 'name' => 'test_db'], 'other' => [1, 2, 3, 4]];
$config = new Config($settings);
expect($config->toArray())->equals($settings);
});
}