private function executeTests(\Jyxo\Input\ValidatorInterface $validator, array $good, array $wrong)
{
foreach ($good as $value) {
$this->assertTrue($validator->isValid($value), sprintf('Tests of value %s should be true but is false.', print_r($value, true)));
}
foreach ($wrong as $value) {
$this->assertFalse($validator->isValid($value), sprintf('Tests of value %s should be false but is true.', print_r($value, true)));
}
}