CommerceGuys\Addressing\Tests\Subdivision\LazySubdivisionCollectionTest::testConstructor PHP Метод

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

public testConstructor ( )
    public function testConstructor()
    {
        $collection = new LazySubdivisionCollection(['BR', 'Porto Acre']);
        $this->assertEquals(['BR', 'Porto Acre'], $this->getObjectAttribute($collection, 'parents'));
    }