protected function getLocationMock(array $properties = array()) { return $this->getMockBuilder('eZ\\Publish\\API\\Repository\\Values\\Content\\Location')->setConstructorArgs(array($properties))->getMockForAbstractClass(); }