예제 #1
0
 public function testTimeoutIsMutable()
 {
     $this->validator->setTimeout(600);
     $this->assertEquals(600, $this->validator->getTimeout());
 }
예제 #2
0
 /**
  * @dataProvider timeoutValuesDataProvider
  */
 public function testTimeoutIsMutable($timeout, $expected)
 {
     $this->validator->setTimeout($timeout);
     $this->assertEquals($expected, $this->validator->getTimeout());
 }