/** * @test */ public function setGenerateToken() { $this->transaction->setGenerateToken(true); $this->assertTrue($this->transaction->getGenerateToken()); }