revision = new Revision(self::RESOURCE_ID, self::VERSION, self::CREATED, self::AUTHOR, self::MESSAGE); } public function tearDown(): void { $this->revision = null; } public function testConstruct() { $this->assertInstanceOf(Revision::class, $this->revision); } public function testGetters() { $this->assertEquals(self::RESOURCE_ID, $this->revision->getResourceId()); $this->assertEquals(self::VERSION, $this->revision->getVersion()); $this->assertEquals(self::CREATED, $this->revision->getDateCreated()); $this->assertEquals(self::AUTHOR, $this->revision->getAuthorId()); $this->assertEquals(self::MESSAGE, $this->revision->getMessage()); } }