public function configureJavascriptTicker(array $jsTickerConfig, ConfigWriter $configWriter)
    {
        $this->assertJsTickerConfig($jsTickerConfig);
        $oldConfig = $this->config['processing']['js_ticker'];
        $this->config['processing']['js_ticker'] = $jsTickerConfig;

        $this->writeConfig($configWriter);

        $this->recordThat(JavascriptTickerWasConfigured::to($jsTickerConfig, $oldConfig));
    }