/** * @dataProvider someDataProvider */ public function testAddNotificationToData($userId, $wikiId, $uniqueId, $entityKey, $authorId, $isReply, $read, $dataS, $dataF) { $wn = new testWallNotifications(); $wn->addNotificationToData($dataS, $userId, $wikiId, $uniqueId, $entityKey, $authorId, $isReply, $read); $this->assertEquals($dataS, $dataF); }
/** * @dataProvider someDataProvider */ public function testAddNotificationToData($userId, $wikiId, $notificationData, $dataS, $dataF) { $wn = new testWallNotifications(); $wn->addNotificationToData($dataS, $userId, $wikiId, $notificationData); $this->assertEquals($dataS, $dataF); }