function TimestampItemNormalizerTest::setUp
Same name in other branches
- 9 core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampItemNormalizerTest::setUp()
- 8.9.x core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampItemNormalizerTest::setUp()
- 11.x core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampItemNormalizerTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ TimestampItemNormalizerTest.php, line 43
Class
- TimestampItemNormalizerTest
- Tests that TimestampItem (de)normalization uses Timestamp (de)normalization.
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
protected function setUp() : void {
parent::setUp();
$this->normalizer = new TimestampItemNormalizer();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.