AddressBookCheckoutComponentTest::testShouldNotCreateBlankAddresses PHP Метод

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

    public function testShouldNotCreateBlankAddresses()
    {
        $beforeCount = Address::get()->count();
        $this->config->setData(array('BillingAddressBookCheckoutComponent_BillingAddressID' => $this->address1->ID));
        $this->assertEquals($this->cart->BillingAddressID, $this->address1->ID);
        $this->assertEquals($beforeCount, Address::get()->count());
    }