Extends
lithium\test\UnitSource
public function testUncallableValidator() {
$subject = new Form(array(
'model' => __CLASS__,
'validators' => array('password' => true)
));
$request = (object) array('data' => array('username' => 'Bob'));
$this->expectException('Authentication validator for `password` is not callable.');
$subject->check($request);
}