public function testRequiredRuleWithNoValue() { fORMValidation::addRequiredRule('User', 'birthday'); $this->setExpectedException('fValidationException'); $user = $this->createUser(); $user->validate(); }