public function test_eloquent_class_is_detected()
 {
     $testClasses = [SomeExampleModelClass::class, SomeExampleModelClassWithEloquent::class];
     $finder = new EloquentClassFinder();
     $classes = iterator_to_array($finder->find());
     foreach ($testClasses as $testClass) {
         $this->assertContains($testClass, $classes);
     }
 }
 /**
  * Find all eloquent models and bootstrap them for cache
  *
  * @return void
  */
 protected function loadAllEloquentModels()
 {
     foreach ($this->finder->find() as $eloquentClass) {
         $this->info("Loaded : [" . $eloquentClass . "]");
         FasterModel::cacheMutatedAttributes($eloquentClass);
     }
 }