public function assertArray($config, $key)
    {
        if (array_key_exists($key, $config) && !is_array($config[$key])) {
            throw new ConfigurationException($key." section must be an array.");
        }
        return $this;
    }