public function IsNullValidatorTest::getInvalidValues in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IsNullValidatorTest.php, line 53
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getInvalidValues() {
return array(
array(
0,
'0',
),
array(
false,
'false',
),
array(
true,
'true',
),
array(
'',
'""',
),
array(
'foo bar',
'"foo bar"',
),
array(
new \DateTime(),
'object',
),
array(
new \stdClass(),
'object',
),
array(
array(),
'array',
),
);
}