| Total Complexity | 2 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class PaymentSlipTestCase extends \PHPUnit_Framework_TestCase |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * The data container for the object under test |
||
| 25 | * |
||
| 26 | * @var PaymentSlipData |
||
| 27 | */ |
||
| 28 | protected $slipData; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The object under test |
||
| 32 | * |
||
| 33 | * @var PaymentSlip |
||
| 34 | */ |
||
| 35 | protected $paymentSlip; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The default attributes to test against |
||
| 39 | * |
||
| 40 | * @var array |
||
| 41 | */ |
||
| 42 | protected $defaultAttributes; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * The set attributes to test against |
||
| 46 | * |
||
| 47 | * @var array |
||
| 48 | */ |
||
| 49 | protected $setAttributes; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Assert an array of elements with their lines and attributes |
||
| 53 | * |
||
| 54 | * @param array $expectedElements The expected elements array. |
||
| 55 | * @param array $elements The actual elements array. |
||
| 56 | */ |
||
| 57 | protected function assertElementsArray($expectedElements, $elements) |
||
| 67 |