public function test_adding_an_array_of_members_to_a_thread() { $this->expectsEvents(Parley\Events\ParleyThreadCreated::class); $users = User::get()->all(); $parley = Parley::discuss(['subject' => 'You are Invited', 'body' => "Please join us for dinner this evening at our residence.", 'author' => $this->prozorovGroup])->withParticipants($users); $members = $parley->getMembers(); $this->assertEquals($members->count(), 3); }