@dataProvider getValidCurrencies
public function testValidCurrencies($currency) { $this->context ->expects($this ->never()) ->method('addViolation'); $this->validator ->validate($currency, new Currency()); }