protected function getPartlyMockedTreeHandler(array $methods) { return $this->getMock('\\eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\TreeHandler', $methods, array($this->getLocationGatewayMock(), $this->getLocationMapperMock(), $this->getContentGatewayMock(), $this->getContentMapperMock(), $this->getFieldHandlerMock())); }