function testSimpleJSON() { // Load docs that are used in tests that follow parent::loadDocsJSON(parent::$client); parent::$logger->debug('testSimpleJSON'); $options = new MLPHP\Options(parent::$client, 'simpleJSON'); $options->write(); $search = new MLPHP\Search(parent::$client, 1, 3); $results = $search->retrieve('Amodei', array('options' => 'simpleJSON')); $this->assertEquals(1, $results->getTotal()); }