/**
  * @dataProvider providerForStringify
  */
 public function testSettingExceptionParamsMakesThemAvailable($input, $expected)
 {
     $x = new ValidationException;
     $x->setParam('foo', $input);
     $this->assertEquals(
         $expected,
         $x->getParam('foo')
     );
 }
 /**
  * @dataProvider providerForStringify
  */
 public function test_setting_exception_params_makes_them_available($input, $expected)
 {
     $x = new ValidationException();
     $x->setParam('foo', $input);
     $this->assertEquals($expected, $x->getParam('foo'));
 }