class NormalizerTestBase
Same name in this branch
- 8.9.x core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
- 8.9.x core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase
Same name in other branches
- 9 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
- 9 core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase
- 10 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
- 11.x core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
Helper base class to set up some test fields for serialization testing.
Hierarchy
- class \Drupal\KernelTests\KernelTestBase extends \PHPUnit\Framework\TestCase implements \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\KernelTests\AssertLegacyTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\AssertHelperTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\PhpunitCompatibilityTrait
- class \Drupal\Tests\serialization\Kernel\NormalizerTestBase extends \Drupal\KernelTests\KernelTestBase
- class \Drupal\serialization\Tests\NormalizerTestBase extends \Drupal\Tests\serialization\Kernel\NormalizerTestBase
- class \Drupal\Tests\serialization\Kernel\NormalizerTestBase extends \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of NormalizerTestBase
Deprecated
in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\serialization\Kernel\NormalizerTestBase instead.
File
-
core/
modules/ serialization/ src/ Tests/ NormalizerTestBase.php, line 15
Namespace
Drupal\serialization\TestsView source
abstract class NormalizerTestBase extends SerializationNormalizerTestBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.