function testSimpleText() { // Load docs that are used in tests that follow parent::loadDocsText(parent::$client); parent::$logger->debug('testText'); $options = new MLPHP\Options(parent::$client, 'simpleText'); $options->write(); $search = new MLPHP\Search(parent::$client, 1, 3); $results = $search->retrieve('MLPHP!!!', array('options' => 'simpleText')); $this->assertEquals(1, $results->getTotal()); $results = $search->retrieve('goodbye???', array('options' => 'simpleText')); $this->assertEquals(0, $results->getTotal()); }