PrimitiveDataNormalizer example


  protected $normalizer;

  /** * {@inheritdoc} */
  protected function setUp(): void {
    parent::setUp();

    $this->normalizer = new PrimitiveDataNormalizer();
  }

  /** * @covers ::supportsNormalization * @dataProvider dataProviderPrimitiveData */
  public function testSupportsNormalization($primitive_data$expected) {
    $this->assertTrue($this->normalizer->supportsNormalization($primitive_data));
  }

  /** * @covers ::supportsNormalization */
Home | Imprint | This part of the site doesn't use cookies.