CommerceGuys\Addressing\Tests\Repository\ZoneMatcherTest::testMatch PHP Метод

testMatch() публичный Метод

public testMatch ( )
    public function testMatch()
    {
        $address = $this->getMockBuilder('CommerceGuys\\Addressing\\Address')->disableOriginalConstructor()->getMock();
        $zone = $this->matcher->match($address);
        $this->assertInstanceOf('CommerceGuys\\Zone\\Model\\Zone', $zone);
        $this->assertEquals('de3', $zone->getId());
    }