process() public method

Execute processor
public process ( array $items ) : array
$items array
return array $items
 /**
  * @dataProvider dataProvider
  */
 public function testProcess($expected, $actual, $allowedTags)
 {
     $this->items[0]->setIntro($actual);
     $this->items[0]->setContent($actual);
     $this->processor->setAllowedTagsForContent($allowedTags);
     $this->processor->setAllowedTagsForIntro($allowedTags);
     $this->items = $this->processor->process($this->items);
     $this->assertEquals($expected, $this->items[0]->getIntro());
     $this->assertEquals($expected, $this->items[0]->getContent());
 }