Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Spec
Dumplie
Customer
Domain
CartSpec
PHP Class Spec\Dumplie\Customer\Domain\CartSpec
Inheritance:
extends
PhpSpec\ObjectBehavior
Afficher le fichier
Open project: dumplie/dumplie
Méthodes publiques
Méthode
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
méthode
public
it_accepts_new_products
( )
it_allows_to_remove_items()
public
méthode
public
it_allows_to_remove_items
( )
it_is_empty_by_default()
public
méthode
public
it_is_empty_by_default
( )
it_sums_products_with_same_sku()
public
méthode
public
it_sums_products_with_same_sku
( )
it_throws_exception_when_adding_product_with_different_currencies()
public
méthode
public
it_throws_exception_when_adding_product_with_different_currencies
( )
it_throws_exception_when_adding_unavailable_product()
public
méthode
public
it_throws_exception_when_adding_unavailable_product
( )
it_throws_exception_when_removing_products_that_is_not_in_cart()
public
méthode
public
it_throws_exception_when_removing_products_that_is_not_in_cart
( )
let()
public
méthode
public
let
( )