create(); expect($theme)->toBeInstanceOf(Theme::class) ->and($theme->exists)->toBeTrue() ->and($theme->name)->toBeString(); }); it('can create classification using factory', function () { $classification = Classification::factory()->create(); expect($classification)->toBeInstanceOf(Classification::class) ->and($classification->exists)->toBeTrue() ->and($classification->name)->toBeString(); }); it('can create location using factory', function () { $location = Location::factory()->create(); expect($location)->toBeInstanceOf(Location::class) ->and($location->exists)->toBeTrue() ->and($location->name)->toBeString(); }); it('can create department using factory', function () { $department = Department::factory()->create(); expect($department)->toBeInstanceOf(Department::class) ->and($department->exists)->toBeTrue() ->and($department->name)->toBeString() ->and($department->alias)->toBeString(); }); it('can create company using factory', function () { $company = Company::factory()->create(); expect($company)->toBeInstanceOf(Company::class) ->and($company->exists)->toBeTrue() ->and($company->name)->toBeString(); }); it('can create partner media using factory', function () { $partnerMedia = PartnerMedia::factory()->create(); expect($partnerMedia)->toBeInstanceOf(PartnerMedia::class) ->and($partnerMedia->exists)->toBeTrue() ->and($partnerMedia->name)->toBeString(); }); it('can create journalist using factory', function () { $journalist = Journalist::factory()->create(); expect($journalist)->toBeInstanceOf(Journalist::class) ->and($journalist->exists)->toBeTrue() ->and($journalist->name)->toBeString(); }); it('can create media monitoring using factory', function () { $mediaMonitoring = MediaMonitoring::factory()->create(); expect($mediaMonitoring)->toBeInstanceOf(MediaMonitoring::class) ->and($mediaMonitoring->exists)->toBeTrue() ->and($mediaMonitoring->title)->toBeString(); }); it('can create content recap using factory', function () { $contentRecap = ContentRecap::factory()->create(); expect($contentRecap)->toBeInstanceOf(ContentRecap::class) ->and($contentRecap->exists)->toBeTrue() ->and($contentRecap->title)->toBeString(); }); it('can create issue management using factory', function () { $issueManagement = IssueManagement::factory()->create(); expect($issueManagement)->toBeInstanceOf(IssueManagement::class) ->and($issueManagement->exists)->toBeTrue() ->and($issueManagement->description)->toBeString(); }); });