/**
  * Create Filter
  * @param $array
  */
 protected function createFilterObjects($array)
 {
     foreach ($array as $key => $value) {
         $object = QueryFilter::create($key, $value, $this->model_cast_array);
         if (!is_null($object)) {
             array_push($this->querys_objetcs, $object);
         }
     }
 }
 public function test_operator_not_exists()
 {
     $this->assertEquals('LIKE', QueryFilter::create('title', 'prof;osihrg', [])->getOperator());
     $this->assertEquals('LIKE', QueryFilter::create('title', 'prof;', [])->getOperator());
     $this->assertEquals('LIKE', QueryFilter::create('title', 'prof;!!', [])->getOperator());
 }