public function regularExpressionValidatorCreatesTheCorrectErrorIfTheExpressionDidNotMatch()
{
$this->validatorOptions(['regularExpression' => '/^simple[0-9]expression$/']);
$subject = 'some subject that will not match';
$errors = $this->validator->validate($subject)->getErrors();
$this->assertEquals([new Validation\Error('The given subject did not match the pattern. Got: %1$s', 1221565130, [$subject])], $errors);
}