false]); Queue::fake(); $collection = Collection::factory()->create(); $result = app(CollectionBackgroundJobService::class)->dispatchHealthRefresh($collection); expect($result['status'])->toBe('disabled') ->and($result['count'])->toBe(0); Queue::assertNothingPushed(); });