Viewing File: /opt/alt/tests/alt-php82-pecl-solr_2.7.0-1.el8/tests/067.solrquery__construct.phpt

--TEST--
SolrQuery::_construct - Throws exception on illegal Argument
--FILE--
<?php

try {
	$query = new SolrQuery(new StdClass());
} catch (SolrIllegalArgumentException $e) {
	echo $e->getMessage();
} catch (TypeError $e) {
	echo $e->getMessage();
}
?>
--EXPECTF--
SolrQuery::__construct()%s string, %s given
Back to Directory File Manager
<