TestingTools/Tests/Unit/Production/HelperClasses/IsMockableClass.php

38 lines
823 B
PHP
Raw Normal View History

2022-11-11 13:26:07 +01:00
<?php
/**
2024-06-16 13:53:57 +02:00
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* https://www.d3data.de
2022-11-11 13:26:07 +01:00
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
2024-06-16 13:53:57 +02:00
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @link https://www.oxidmodule.com
2022-11-11 13:26:07 +01:00
*/
namespace D3\TestingTools\Tests\Unit\Production\HelperClasses;
use D3\TestingTools\Production\IsMockable;
class IsMockableClass extends IsMockableParent
{
use IsMockable;
/**
* @param string $arg
*
* @return string
*/
public function myMethod(string $arg): string
{
2022-12-20 23:15:32 +01:00
return 'currentClass::myMethod##'.$arg;
2022-11-11 13:26:07 +01:00
}
2022-12-20 23:15:32 +01:00
public function fakeMethod(): void
{
}
2022-11-11 13:26:07 +01:00
}