| 1 | <?php |
||
| 10 | abstract class PhpUnitSimpleTestCase extends TestCase |
||
| 11 | { |
||
| 12 | /** @var object */ |
||
| 13 | protected $instance; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param mixed $expected |
||
| 17 | * |
||
| 18 | * @dataProvider getSimpleMethodsData |
||
| 19 | */ |
||
| 20 | public function testSimpleMethods(string $method, array $arguments, $expected): void |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Hook to be able to execute some code before the execution of the test |
||
| 32 | */ |
||
| 33 | public function setUpBeforeSimpleMethodsTests(): void |
||
| 36 | |||
| 37 | abstract public function getSimpleMethodsData(): array; |
||
| 38 | } |
||
| 39 |