PHP 클래스 CommerceGuys\Addressing\Tests\Formatter\DefaultFormatterTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$addressFormatRepository AddressFormatRepositoryInterface The address format repository.
$countryRepository CountryRepositoryInterface The country repository.
$formatter CommerceGuys\Addressing\Formatter\DefaultFormatter The formatter.
$subdivisionRepository SubdivisionRepositoryInterface The subdivision repository.

공개 메소드들

메소드 설명
setUp ( )
testAndorraAddress ( )
testConstructor ( )
testElSalvadorAddress ( )
testInvalidOption ( )
testLocale ( )
testOptions ( )
testTaiwanAddress ( )
testUnitedStatesIncompleteAddress ( )

보호된 메소드들

메소드 설명
assertFormattedAddress ( array $expectedLines, string $formattedAddress ) Asserts that the formatted address is valid.

메소드 상세

assertFormattedAddress() 보호된 메소드

Asserts that the formatted address is valid.
protected assertFormattedAddress ( array $expectedLines, string $formattedAddress )
$expectedLines array
$formattedAddress string

setUp() 공개 메소드

public setUp ( )

testAndorraAddress() 공개 메소드

public testAndorraAddress ( )

testConstructor() 공개 메소드

public testConstructor ( )

testElSalvadorAddress() 공개 메소드

testInvalidOption() 공개 메소드

public testInvalidOption ( )

testLocale() 공개 메소드

public testLocale ( )

testOptions() 공개 메소드

public testOptions ( )

testTaiwanAddress() 공개 메소드

public testTaiwanAddress ( )

testUnitedStatesIncompleteAddress() 공개 메소드

프로퍼티 상세

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

The address format repository.
protected AddressFormatRepositoryInterface $addressFormatRepository
리턴 AddressFormatRepositoryInterface

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

The country repository.
protected CountryRepositoryInterface $countryRepository
리턴 CountryRepositoryInterface

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

The formatter.
protected DefaultFormatter,CommerceGuys\Addressing\Formatter $formatter
리턴 CommerceGuys\Addressing\Formatter\DefaultFormatter

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

The subdivision repository.
protected SubdivisionRepositoryInterface $subdivisionRepository
리턴 SubdivisionRepositoryInterface