/** * @test */ public function setAuthorizeThrowsUnexpectedValue() { $this->setExpectedException(\UnexpectedValueException::class); $this->transaction->setAuthorize(-1); }