getContext()
protected method
Returns a mock context based on the provided data.
protected getContext ( CommerceGuys\Addressing\AddressInterface $customerAddress, CommerceGuys\Addressing\AddressInterface $storeAddress, array $storeRegistrations = [] ) : Context |
$customerAddress |
CommerceGuys\Addressing\AddressInterface |
The customer address. |
$storeAddress |
CommerceGuys\Addressing\AddressInterface |
The store address. |
$storeRegistrations |
array |
The store registrations. |
return |
CommerceGuys\Tax\Resolver\Context |
|