createOne(); $this->assertIsString($announcement->getName()); }); test('has subtitle', function (): void { $announcement = Announcement::factory()->createOne(); $this->assertIsString($announcement->getSubtitle()); });