/**
  * @test
  */
 public function it_knows_the_core_methods()
 {
     $core_methods = ['set', 'orderBy', 'where', 'whereRaw'];
     array_map(function ($method) {
         $this->assertTrue($this->filter->isCoreMethod($method));
     }, $core_methods);
     $this->assertFalse($this->filter->isCoreMethod('noneCore'));
 }
 /**
  * Check to see if the magic method call is for a core method
  *
  * @param string $method
  *
  * @return bool
  */
 private function isCoreMethod($method)
 {
     return $this->filter->isCoreMethod($method);
 }