public function assertStringContaining($config, $key, $searchedPart)
    {
        $this->assertString($config, $key);
        if (array_key_exists($key, $config) && strpos($config[$key], $searchedPart) === false) {
            throw new ConfigurationException($key." must contain ".$searchedPart);
        }
        return $this;
    }