/** * @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; }
/** * @test * @depends create * * @param Input $input * * @return Input */ public function update(Input $input) { $input->update(); $this->checkInput($input); return $input; }
/** * @depends testCreateFtpInput */ public function testUpdateFtpInput(Input $input) { $input->update(); $this->checkInput($input); return $input; }