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