| 1 | <?php declare(strict_types = 1); |
||
| 9 | class FormatterTest extends TestCase |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @dataProvider dataTestFormatAmount |
||
| 14 | * |
||
| 15 | * @param int|null $value |
||
| 16 | * @param string|null $expected |
||
| 17 | */ |
||
| 18 | public function testFormatAmount(?int $value = null, ?string $expected = null): void |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return mixed[] |
||
| 25 | */ |
||
| 26 | public function dataTestFormatAmount(): array |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @dataProvider dataTestFormatDateTime |
||
| 41 | * |
||
| 42 | * @param DateTimeImmutable $value |
||
| 43 | * @param string $expected |
||
| 44 | */ |
||
| 45 | public function testFormatDateTime(DateTimeImmutable $value, string $expected): void |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return mixed[][] |
||
| 52 | */ |
||
| 53 | public function dataTestFormatDateTime(): array |
||
| 60 | |||
| 61 | } |
||
| 62 |