create(); $this->assertTrue($group->vault()->exists()); } /** @test */ public function it_has_one_group_type() { $group = Group::factory()->create(); $this->assertTrue($group->groupType()->exists()); } /** @test */ public function it_has_many_contacts(): void { $ross = Contact::factory()->create([]); $group = Group::factory()->create(); $group->contacts()->sync([$ross->id]); $this->assertTrue($group->contacts()->exists()); } }