CommerceGuys\Addressing\Tests\Formatter\PostalLabelFormatterTest::testEmptyAddress PHP Метод

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

public testEmptyAddress ( )
    public function testEmptyAddress()
    {
        $expectedLines = [];
        $this->formatter->setOriginCountryCode('US');
        $formattedAddress = $this->formatter->format(new Address('US'), 'US');
        $this->assertFormattedAddress($expectedLines, $formattedAddress);
    }