public function TimeValidatorTest::testDateTimeClassIsValid in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ TimeValidatorTest.php, line 44
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testDateTimeClassIsValid() {
$this->validator
->validate(new \DateTime(), new Time());
$this
->assertNoViolation();
}