withoutMiddleware( ThrottleRequests::class ); // $this->faker = \Faker\Factory::create(); $this->makeTestData(); $this->withoutExceptionHandling(); } public function testCompanyExport() { CompanyExport::dispatchNow($this->company, $this->company->users->first()); $this->assertTrue(true); } }