PHP Class Spec\Dumplie\Customer\Domain\CartSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: dumplie/dumplie

Public Methods

Method Description
it_accepts_new_products ( )
it_allows_to_remove_items ( )
it_is_empty_by_default ( )
it_sums_products_with_same_sku ( )
it_throws_exception_when_adding_product_with_different_currencies ( )
it_throws_exception_when_adding_unavailable_product ( )
it_throws_exception_when_removing_products_that_is_not_in_cart ( )
let ( )

Method Details

it_accepts_new_products() public method

it_allows_to_remove_items() public method

it_is_empty_by_default() public method

it_sums_products_with_same_sku() public method

it_throws_exception_when_adding_product_with_different_currencies() public method

it_throws_exception_when_adding_unavailable_product() public method

it_throws_exception_when_removing_products_that_is_not_in_cart() public method

let() public method

public let ( )