'dummy@mailgun.net']); $this->assertEquals([], $unsubscribe->getTags()); } /** * @test */ public function itGetsTags() { $tags = ['tag1', 'tag2']; $unsubscribe = Unsubscribe::create(['address' => 'dummy@mailgun.net', 'tags' => $tags]); $this->assertEquals($tags, $unsubscribe->getTags()); } }