/** * @dataProvider getProvidedData */ public function testGetToDecoded(Notification $emailNotification) { $this->assertEquals(json_decode($emailNotification->getTo(), true), $emailNotification->getToDecoded()); }