public function testInfiniteDepth() { $this->lock->setDepth(DepthHeader::INFINITY); $this->assertEquals(DepthHeader::INFINITY, $this->lock->getDepth()); $this->assertTrue($this->lock->isDeep()); }