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