ListNormalizerTest::$expectedListValues

Same name and namespace in other branches
  1. 9 core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\ListNormalizerTest::expectedListValues
  2. 8.9.x core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\ListNormalizerTest::expectedListValues
  3. 10 core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\ListNormalizerTest::expectedListValues

The expected list values to use for testing.

Type: array

File

core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php, line 39

Class

ListNormalizerTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21serialization%21src%21Normalizer%21ListNormalizer.php/class/ListNormalizer/11.x" title="Converts list objects to arrays." class="local">\Drupal\serialization\Normalizer\ListNormalizer</a> @group serialization

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

protected $expectedListValues = [
    'test',
    'test',
    'test',
];

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