/** * @depends testConstructorWithValidatorName * @depends testConstructorWithValidatorName_and_params * @depends testZendDateValidatorWithRespectMethods * @expectedException Respect\Validation\Exceptions\ZendException */ public function testParamsNot() { $v = new Zend('StringLength', array('min' => 10, 'max' => 25)); $this->assertFalse($v->assert('aw')); }