コード例 #1
0
 public function testRequiredRuleWithNoValue()
 {
     fORMValidation::addRequiredRule('User', 'birthday');
     $this->setExpectedException('fValidationException');
     $user = $this->createUser();
     $user->validate();
 }