title: Target class [Database\Seeders\MockNotification] does not exist in Laravel
body: <p>i am using a seeder class to seed a table in the database</p>
  <pre><code>&lt;?php
  namespace Database\Seeders;
  class MockNotification extends Seeder
  {
      /**
       * Run the database seeds.
       *
       * @return void
       */
      public function run()
      {
          //
          Notification::factory()-&gt;times(2)-&gt;create();
      }
  }
  </code></pre>
  <p>i am calling this class in the DatabaseSeeder</p>
  <pre><code>
  &lt;?php
  namespace Database\Seeders;
  
  use Illuminate\Database\Seeder;
  use Database\Seeders\NotificationTypeSeeder;
  use Database\Seeders\MockNotification;
  class DatabaseSeeder extends Seeder
  {
      /**
       * Seed the application's database.
       *
       * @return void
       */
      public function run()
      {
          // $this-&gt;call(UserSeeder::class);
          $this-&gt;call([NotificationTypeSeeder::class]);
          $this-&gt;call([MockNotification::class]);
      }
  }
  </code></pre>
  <p>i am getting this error</p>
  <blockquote>
  <p>Target class [Database\Seeders\MockNotification] does not exist.</p>
  </blockquote>
  <p>while i already imported MockNotification classs in the DatabaseSeeder file</p>