/**
  * @expectedException \WinkForm\Validation\ValidationException
  */
 public function testValidationException()
 {
     $this->validator->validate('test', 'non numeric value', 'numeric|max:8|in:2,3,4');
     if (!$this->validator->isValid()) {
         throw new ValidationException('The test throws the exception', $this->validator->getErrors());
     }
     $this->fail('The ValidationException should have been thrown.');
 }