Example #1
0
 public function testGetTextMain()
 {
     $sampleFile1 = test_files_path() . 'sample1.html';
     $textMain = trim(TikaWrapper::getTextMain($sampleFile1));
     $this->assertEquals('Some titleAliquam blandit blandit augue, eu tristique arcu tincidunt et.', $textMain);
 }