/** * Tests the getters and setters of the model * @test */ public function setGetTest() { $id = "This a weird test"; $createdAt = 1; $updatedAt = 2; $appId = 1337; $this->_payment->setId($id)->setCreatedAt($createdAt)->setUpdatedAt($updatedAt)->setAppId($appId); $this->assertEquals($this->_payment->getId(), $id); $this->assertEquals($this->_payment->getCreatedAt(), $createdAt); $this->assertEquals($this->_payment->getUpdatedAt(), $updatedAt); $this->assertEquals($this->_payment->getAppId(), $appId); }