protected function getZone($id, $priority, $match)
{
$zone = $this->getMockBuilder('CommerceGuys\\Zone\\Model\\Zone')->disableOriginalConstructor()->getMock();
$zone->expects($this->any())->method('getId')->will($this->returnValue($id));
$zone->expects($this->any())->method('getPriority')->will($this->returnValue($priority));
$zone->expects($this->any())->method('match')->with($this->anything())->will($this->returnValue($match));
return $zone;
}