public function getMockAddress()
{
$address = $this->getMock('Sonata\\Component\\Customer\\AddressInterface', array(), array(), 'BasketTest_Address');
$address->expects($this->any())->method('getName')->will($this->returnValue('Product name'));
$address->expects($this->any())->method('getAddress1')->will($this->returnValue('Address1'));
$address->expects($this->any())->method('getAddress2')->will($this->returnValue('Address2'));
$address->expects($this->any())->method('getAddress3')->will($this->returnValue('Address3'));
$address->expects($this->any())->method('getPostcode')->will($this->returnValue('75001'));
$address->expects($this->any())->method('getCity')->will($this->returnValue('Paris'));
$address->expects($this->any())->method('getCountryCode')->will($this->returnValue('FR'));
$address->expects($this->any())->method('getPhone')->will($this->returnValue('0123456789'));
return $address;
}