/** * @covers ::isDefaultRevision */ public function testIsDefaultRevision() { // The default value is TRUE. $this->assertTrue($this->entity->isDefaultRevision()); // Change the default revision, verify that the old value is returned. $this->assertTrue($this->entity->isDefaultRevision(FALSE)); // The last call changed the return value for this call. $this->assertFalse($this->entity->isDefaultRevision()); }