1--TEST--
2SolrClient - PHPS response writer support
3--FILE--
4<?php
5require_once "bootstrap.inc";
6ERROR_REPORTING(E_ALL);
7$options = array (
8		'hostname' => SOLR_SERVER_HOSTNAME,
9		'login' => SOLR_SERVER_USERNAME,
10		'password' => SOLR_SERVER_PASSWORD,
11		'port' => SOLR_SERVER_PORT,
12		'path' => SOLR_SERVER_PATH,
13);
14
15$client = new SolrClient ( $options );
16$client->setResponseWriter('phps');
17$options = $client->getOptions();
18var_dump($options['wt'] == 'phps');
19?>
20--EXPECTF--
21bool(true)