Heystack\Ecommerce\Transaction\TransactionTest
Synopsis
class TransactionTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected Transaction $transaction;
- // methods
- protected void setUp()
- protected void tearDown()
- protected void mockIdentifier()
- public void testModifiersAccess()
- public void testGetTotal()
- public void testGetTotalWithExclusions()
- public void testGetStorableIdentifier()
- public void testGetSchemaName()
- public void testGetStorableData()
- public void testGetStorableBackendIdentifiers()
- public void testStatus()
Hierarchy
Extends
- PHPUnit_Framework_TestCase
Members
protected
- $transaction — Heystack\Ecommerce\Transaction\Transaction
Methods
protected
- mockIdentifier() — Creates a mock Identifier that returns $value when 'getFull' is called.
- setUp() — Sets up the fixture, for example, opens a network connection.
- tearDown() — Tears down the fixture, for example, closes a network connection.