/**
  * @dataProvider getNotificationWithNotifierParameters
  */
 public function testGetConfigurationWithNotifierParameters(Notification $notification)
 {
     $entityManager = $this->getMockBuilder('\\Doctrine\\ORM\\EntityManager')->disableOriginalConstructor()->getMock();
     $defaultConfiguration = array();
     $emailNotifier = new EmailNotifier($entityManager, $defaultConfiguration);
     $this->assertEquals($notification->getFromDecoded(), $emailNotifier->getConfiguration($notification));
 }
 /**
  * @dataProvider getProvidedData
  */
 public function testGetFromDecoded(Notification $emailNotification)
 {
     $this->assertEquals(json_decode($emailNotification->getFrom(), true), $emailNotification->getFromDecoded());
 }