public function testRequiredOptionsMustBeDefined() { $this ->setExpectedException('Symfony\\Component\\Validator\\Exception\\MissingOptionsException'); new ConstraintC(); }