1 | <?php declare(strict_types = 1); |
||
5 | class FormatterTest extends \PHPUnit\Framework\TestCase |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @dataProvider dataTestFormatAmount |
||
10 | * @param int|null $value |
||
11 | * @param string|null $expected |
||
12 | */ |
||
13 | public function testFormatAmount(int $value = null, string $expected = null) |
||
17 | |||
18 | public function dataTestFormatAmount(): array |
||
30 | |||
31 | /** |
||
32 | * @dataProvider dataTestFormatDateTime |
||
33 | * @param \DateTimeImmutable $value |
||
34 | * @param string $expected |
||
35 | */ |
||
36 | public function testFormatDateTime(\DateTimeImmutable $value, string $expected) |
||
40 | |||
41 | public function dataTestFormatDateTime() |
||
48 | |||
49 | } |
||
50 |