public function testDispatch()
 {
     $data = ['someData'];
     $eventName = 'eventName';
     $event = new \Magento\Framework\Event($data);
     $event->setData('name', $eventName);
     $this->collection->dispatch($eventName, $data);
 }