PHP Класс FeesTest

Наследование: extends Orchestra\Testbench\TestCase, use trait LukePOLO\LaraCart\Tests\LaraCartTestTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
testAddFee ( ) Testing add a fee to the cart.
testMultipleFees ( ) Test if we can add multiple fees to the cart.
testRemoveFee ( ) Test if we can remove a fee from the cart.
testRemoveFees ( ) Test if we can remove all fees from the cart.

Приватные методы

Метод Описание
addFee ( $name, integer $fee = 10 ) Add a fee.

Описание методов

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

Testing add a fee to the cart.
public testAddFee ( )

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

Test if we can add multiple fees to the cart.
public testMultipleFees ( )

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

Test if we can remove a fee from the cart.
public testRemoveFee ( )

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

Test if we can remove all fees from the cart.
public testRemoveFees ( )