setCapture() public method

public setCapture ( boolean $capture )
$capture boolean
 /**
  * @test
  */
 public function setCaptureThrowsUnexpectedValue()
 {
     $this->setExpectedException(\UnexpectedValueException::class);
     $this->transaction->setCapture(0);
 }