public function testRemoveRawContent() { $handler = $this->getContentHandler(); $treeHandlerMock = $this->getTreeHandlerMock(); $treeHandlerMock->expects($this->once())->method('removeRawContent')->with(23); $handler->removeRawContent(23); }