Source

						public function testUncallableFilter() {
		$subject = new Form(array(
			'model' => __CLASS__,
			'filters' => array(
				'username' => true
			)
		));

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

		$this->expectException('Authentication filter for `username` is not callable.');
		$subject->check($request);
	}