protected function hasCategory()
{
if (!array_key_exists('category_id', $this->infoNotification)) {
$error = 'Category not found please provide one,
you can not store a notification without category id';
throw new CategoryNotFoundException($error);
}
return true;
}