PHP 클래스 CommerceGuys\Tax\Tests\Resolver\DefaultTaxTypeResolverTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: commerceguys/tax

보호된 프로퍼티들

프로퍼티 타입 설명
$taxTypes array Known tax types.
$zones array Known zones.

공개 메소드들

메소드 설명
testConstructor ( )
testResolver ( $resolver )

보호된 메소드들

메소드 설명
getContext ( CommerceGuys\Addressing\AddressInterface $customerAddress, CommerceGuys\Addressing\AddressInterface $storeAddress, array $storeRegistrations = [] ) : Context Returns a mock context based on the provided data.

메소드 상세

getContext() 보호된 메소드

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.
리턴 CommerceGuys\Tax\Resolver\Context

testConstructor() 공개 메소드

public testConstructor ( )

testResolver() 공개 메소드

public testResolver ( $resolver )

프로퍼티 상세

$taxTypes 보호되어 있는 프로퍼티

Known tax types.
protected array $taxTypes
리턴 array

$zones 보호되어 있는 프로퍼티

Known zones.
protected array $zones
리턴 array