@igorw I completely agree. I was hesitant to litter the test suites with custom constraints and validators without asking first. I would like to test something like this:

```php
// Constraints/Custom.php
public function validatedBy()
{
    return 'my.validator.custom';
}

// Constraints/CustomValidator.php
public function __construct($dependency)
{
    $this->dependency = $dependency;
}

public function isValid($value, Constraint $constraint)
{
    // do some validation
}

// ValidatorServiceProviderTest.php
$app['validator.custom'] = $app->share(function ($app) {
    return new CustomValidator($app['dependency']);
});

$app->register(new ValidatorServiceProvider(), array(
    'validator.validator_service_ids' => array(
        'my.validator.custom' => 'validator.custom'
    )
));

$validator = $app['validator.validator_factory']->getInstance(new Custom());
$this->assertInstanceOf('Constraints\CustomValidator', $validator);
```