/**
  * Ensures that getMax() returns expected value
  *
  * @return void
  */
 public function testGetMax()
 {
     $validator = new Zend_Validate_Between(array('min' => 1, 'max' => 10));
     $this->assertEquals(10, $validator->getMax());
 }
Ejemplo n.º 2
0
 /**
  * Ensures that getMax() returns expected value
  *
  * @return void
  */
 public function testGetMax()
 {
     $validator = new Zend_Validate_Between(1, 10);
     $this->assertEquals(10, $validator->getMax());
 }