}
@Test
public void testSuccessfulInjectionIntoConstraintValidator() {
ConstraintValidatorFactory constraintValidatorFactory = validatorFactory.getConstraintValidatorFactory();
PingableValidator validator = constraintValidatorFactory.getInstance( PingableValidator.class );
assertNotNull( "Constraint Validator could not be created", validator );
assertNotNull( "The ping service did not get injected", validator.getPingService() );
}