2 declare(strict_types = 1);
20 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
29 $dateObject = new \DateTimeImmutable(
'2018-07-15',
new \DateTimeZone(
'Europe/Moscow'));
31 $result = $subject->getDateTime();
32 $this->assertSame($dateObject, $result);
40 $this->expectException(AspectPropertyNotFoundException::class);
41 $this->expectExceptionCode(1527778767);
42 $dateObject = new \DateTimeImmutable(
'2018-07-15',
new \DateTimeZone(
'Europe/Moscow'));
44 $subject->get(
'football');
59 '2018-07-15T13:00:05+03:00'
67 new \DateTimeImmutable(
'2018-07-15T13:00:05',
new \DateTimeZone(
'Europe/Moscow'))
80 $dateObject = new \DateTimeImmutable(
'2018-07-15T13:00:05',
new \DateTimeZone(
'Europe/Moscow'));
82 $this->assertEquals($expectedResult, $subject->get($key));