CakeAccounting/tests/TestCase/View/Helper/AccountingHelperTest.php

46 lines
829 B
PHP
Raw Normal View History

2025-08-09 21:07:39 +00:00
<?php
declare(strict_types=1);
namespace CakeAccounting\Test\TestCase\View\Helper;
use Cake\TestSuite\TestCase;
use Cake\View\View;
use CakeAccounting\View\Helper\AccountingHelper;
/**
* CakeAccounting\View\Helper\AccountingHelper Test Case
*/
class AccountingHelperTest extends TestCase
{
/**
* Test subject
*
* @var \CakeAccounting\View\Helper\AccountingHelper
*/
protected $Accounting;
/**
* setUp method
*
* @return void
*/
protected function setUp(): void
{
parent::setUp();
$view = new View();
$this->Accounting = new AccountingHelper($view);
}
/**
* tearDown method
*
* @return void
*/
protected function tearDown(): void
{
unset($this->Accounting);
parent::tearDown();
}
}