public function testRemoveSubtree() { $handler = $this->getLocationHandler(); $this->treeHandler->expects($this->once())->method('removeSubtree')->with(42); $handler->removeSubtree(42); }