public function testOnPermissionUpdateWrongType()
{
$event = new PermissionUpdateEvent(\stdClass::class, '1', null);
$this->fileVersionMetaRepository->findByCollectionId(Argument::any())->shouldNotBeCalled();
$this->searchManager->deindex(Argument::any())->shouldNotBeCalled();
$this->permissionListener->onPermissionUpdate($event);
}