PHP Class AddressBookCheckoutComponentTest, silvershop-core

Inheritance: extends SapphireTest
Show file Open project: burnbright/silverstripe-shop

Protected Properties

Property Type Description
$address1 Address
$address2 Address
$cart Order
$config CheckoutComponentConfig
$fixtureNewAddress
$fixture_file
$member Member

Public Methods

Method Description
setUp ( )
testCreateNewAddress ( )
testIncompleteNewAddress ( )
testShouldNotCreateBlankAddresses ( )
testShouldRejectExistingIfNotLoggedIn ( )
testShouldRejectExistingIfNotOwnedByMember ( )
testUseExistingAddress ( )

Method Details

setUp() public method

public setUp ( )

testCreateNewAddress() public method

testIncompleteNewAddress() public method

testShouldNotCreateBlankAddresses() public method

testShouldRejectExistingIfNotLoggedIn() public method

testShouldRejectExistingIfNotOwnedByMember() public method

testUseExistingAddress() public method

Property Details

$address1 protected property

protected Address $address1
return Address

$address2 protected property

protected Address $address2
return Address

$cart protected property

protected Order $cart
return Order

$config protected property

protected CheckoutComponentConfig $config
return CheckoutComponentConfig

$fixtureNewAddress protected property

protected $fixtureNewAddress

$fixture_file protected static property

protected static $fixture_file

$member protected property

protected Member $member
return Member