| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class SystemTimeServiceTest extends TestCase |
||
| 12 | { |
||
| 13 | public function testItMeasuresTime(): void |
||
| 14 | { |
||
| 15 | $timeService = new SystemTimeService(); |
||
| 16 | |||
| 17 | $dateTime = $timeService->measure(); |
||
| 18 | |||
| 19 | $this->assertSame(Timekeeper\time(), $dateTime->getTimestamp()); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testItSetSystemTimeZone(): void |
||
| 31 | ); |
||
| 32 | } |
||
| 34 |