EntityContext example


  protected function assertRequirementIsSatisfied(bool $expected, ContextDefinition $requirement, ContextDefinition $definition$value = NULL): void {
    $context = new EntityContext($definition$value);
    $this->assertSame($expected$requirement->isSatisfiedBy($context));
  }

  /** * @covers ::isSatisfiedBy * @covers ::dataTypeMatches * @covers ::getSampleValues * @covers ::getConstraintObjects * * @dataProvider providerTestIsSatisfiedBy */
  
Home | Imprint | This part of the site doesn't use cookies.