class NormalizerTestBase

Same name in this branch
  1. 8.9.x core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
  2. 8.9.x core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase
Same name and namespace in other branches
  1. 9 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
  2. 9 core/modules/hal/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\hal\Kernel\NormalizerTestBase
  3. 10 core/modules/serialization/tests/src/Kernel/NormalizerTestBase.php \Drupal\Tests\serialization\Kernel\NormalizerTestBase
  4. 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

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\Tests
View source
abstract class NormalizerTestBase extends SerializationNormalizerTestBase {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.