/**
  * @param \Illuminate\Database\Eloquent\Builder $builder
  * @param array $input
  * @return \Illuminate\Database\Eloquent\Builder
  */
 public function modify(\Illuminate\Database\Eloquent\Builder $builder, array $input)
 {
     $this->input = $input;
     $this->builder = $builder;
     $this->setConfigFilterableFields($builder);
     $this->callModifiers($this->config->getModifiers());
     return $this->builder;
 }
 public function testDeleteModifier()
 {
     $config = new InputConfig();
     $config->removeModifier(SearchModifier::class);
     $modifiers = $config->getModifiers();
     $this->assertEquals(false, in_array(SearchModifier::class, $modifiers));
     $this->assertEquals(6, count($modifiers));
 }