예제 #1
0
 /**
  * @test
  * @dataProvider inputProvider
  *
  * @param Input $input
  *
  * @return Input
  */
 public function update($input = NULL)
 {
     if (!$input instanceof Input) {
         $this->markTestSkipped("no input available");
     }
     $input->update();
     $this->checkInput($input);
     return $input;
 }
예제 #2
0
 /**
  * @test
  * @depends create
  *
  * @param Input $input
  *
  * @return Input
  */
 public function update(Input $input)
 {
     $input->update();
     $this->checkInput($input);
     return $input;
 }
예제 #3
0
 /**
  * @depends testCreateFtpInput
  */
 public function testUpdateFtpInput(Input $input)
 {
     $input->update();
     $this->checkInput($input);
     return $input;
 }