示例#1
0
 function testSimpleXML()
 {
     // Load docs that are used in tests that follow
     parent::loadDocsXML(parent::$client);
     parent::$logger->debug('testSimpleXML');
     $options = new MLPHP\Options(parent::$client, 'simpleXML');
     $options->write();
     $search = new MLPHP\Search(parent::$client, 1, 3);
     $results = $search->retrieve('spotsylvania', array('options' => 'simpleXML'));
     $this->assertEquals(1, $results->getTotal());
 }