Beispiel #1
0
 /**
  * Neither customer id used nor address id exists
  */
 public function testValidateNewAddress()
 {
     $this->customerFactoryMock->expects($this->never())->method('create');
     $this->addressFactoryMock->expects($this->never())->method('create');
     $addressData = $this->addressDataBuilder->setCompany('eBay Inc')->create();
     $this->assertTrue($this->model->validate($addressData));
 }