/** * Test Remove Current Revision * * @return void * * @covers \Rcm\Entity\ContainerAbstract */ public function testRemoveStagedRevisionRevision() { $publishedRevision = new Revision(); $publishedRevision->setRevisionId(6); $this->container->setStagedRevision($publishedRevision); $actual = $this->container->getStagedRevision(); $this->assertEquals($publishedRevision, $actual); $this->container->removeStagedRevision(); $shouldBeEmpty = $this->container->getStagedRevision(); $this->assertEmpty($shouldBeEmpty); }