* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Tests\Constraints; use PHPUnit\Framework\TestCase; use Symfony\Component\Validator\Constraints\All; use Symfony\Component\Validator\Constraints\Valid; /** * @author Bernhard Schussek */ class AllTest extends TestCase { /** * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectNonConstraints() { new All(array( 'foo', )); } /** * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException */ public function testRejectValidConstraint() { new All(array( new Valid(), )); } } __halt_compiler();----SIGNATURE:----vtyrgMcaoq3D16e/TB2UXoPO7XwhUOkZ4yhEURLdhI0TmI8fNQbAClnNYUm7zdi8bluIvJ9OnKNrke+TbvcSmk3qRbXwjC2lJC0AY4yuAjKPp5MdlCppW+fxKxsS050cIUvT3gxWJ7MuxmIQl6c4dsQGsLZKt2PG7wNWj8Kyl3IZiI9dHRRnRxooXDzlHIoIWa8t8U6SjoTmoEbdVvzccAHB5FDWhOlQUSKPJQgVdW6iNch0ksnd5mWXc4+ukrXLyNiXIJRZkTMKRv6PgFZ2zOsXwomsYfvPZR6k41LdtJMXNWEzSl4WCeWrgiy3Qx6xyxPUejVCgmHm/4sJesALtqEsU4jqw6TJr4Z/YtXGAzcBwbdWsNfApJ4EcAI1nvZLCUQFVLV15rjHWJIyAwrkpBZKgt/uvkKxHZWP3pGhXrNHb6g18UIy/Kk3h6yUSM/UtKkBxGBPdn5MCRlxJHd9LkYrwJi+ZwWD1CXab8U47h3eDDXbRGe5T8O35g21lWk2bA8QE4AJgrlgRXMIRpq6NU8YBuEdMWzPm5vx7bPPMtcVVxoo7l42Oq4y2/cx/OCDEQk+QdHckuWCdAmAdHm7AGrI9dX47iPNpL8xsyvegTpU1exlEcbQn9h13vaEhsRuT4OLMWKffSM/vkiEPnrOAsaHqE5gOGkBZ7cHeDGUtbw=----ATTACHMENT:----ODI3MDc4NzE2NzI1NjIzMyA1OTMwMTkwNzU3Mzc0MjczIDM5NjUxNDI3MDI1MDg3Mg==