protected function internalGetVisitor() { $this->locationServiceMock = $this->getMock('eZ\\Publish\\API\\Repository\\LocationService'); return new ValueObjectVisitor\LocationCreateStruct($this->locationServiceMock); }