public function testSetLocaleOption()
 {
     $v = new ScientificNotationValidator();
     $this->assertInstanceOf('MoneyLaundry\\Validator\\ScientificNotation', $v->setLocale('it_IT'));
     $this->assertEquals($v->getLocale(), 'it_IT');
 }
 /**
  * @param $expected
  * @param $value
  * @param $locale
  * @dataProvider valuesProvider
  */
 public function testAllValues($expected, $value, $locale)
 {
     $this->validator->setLocale($locale);
     $this->assertEquals($expected, $this->validator->isValid($value), sprintf("'Failed expecting '%s' being %s (locale: %s, type: %s)", $value, $expected ? 'TRUE' : 'FALSE', $locale, gettype($value)));
     self::writeData(['locale' => $locale, 'value' => $value, 'valid' => $expected ? 'true' : 'false']);
 }