Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Spec
Dumplie
Customer
Domain
CartSpec
PHP Class Spec\Dumplie\Customer\Domain\CartSpec
Inheritance:
extends
PhpSpec\ObjectBehavior
显示文件
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
public
it_accepts_new_products
( )
it_allows_to_remove_items()
public
method
public
it_allows_to_remove_items
( )
it_is_empty_by_default()
public
method
public
it_is_empty_by_default
( )
it_sums_products_with_same_sku()
public
method
public
it_sums_products_with_same_sku
( )
it_throws_exception_when_adding_product_with_different_currencies()
public
method
public
it_throws_exception_when_adding_product_with_different_currencies
( )
it_throws_exception_when_adding_unavailable_product()
public
method
public
it_throws_exception_when_adding_unavailable_product
( )
it_throws_exception_when_removing_products_that_is_not_in_cart()
public
method
public
it_throws_exception_when_removing_products_that_is_not_in_cart
( )
let()
public
method
public
let
( )