PHP Class CommerceGuys\Zone\Tests\PostalCodeHelperTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: commerceguys/zone

Public Methods

Method Description
testMatch ( )

Protected Methods

Method Description
getAddress ( string $postalCode = null ) : Address Returns a mock address with the provided postal code.

Method Details

getAddress() protected method

Returns a mock address with the provided postal code.
protected getAddress ( string $postalCode = null ) : Address
$postalCode string The postal code.
return CommerceGuys\Addressing\Address

testMatch() public method

public testMatch ( )