public function setGenerateTokenThrowsUnexpectedValue() { $this->setExpectedException(\UnexpectedValueException::class); $this->transaction->setGenerateToken(0); }