Source

						public function testUncallableGenericValidator() {
		$subject = new Form(array(
			'model' => __CLASS__,
			'validators' => array(true, 'password' => false)
		));

		$request = (object) array('data' => array('username' => 'Bob'));

		$this->expectException('Authentication validator is not callable.');
		$subject->check($request);
	}