NonAbstractFormStateDecoratorBase example


  protected $formStateDecoratorBase;

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

    $this->decoratedFormState = $this->prophesize(FormStateInterface::class);

    $this->formStateDecoratorBase = new NonAbstractFormStateDecoratorBase($this->decoratedFormState->reveal());
  }

  /** * Provides data to test methods that take a single boolean argument. */
  public function providerSingleBooleanArgument() {
    return [
      [TRUE],
      [FALSE],
    ];
  }

  
Home | Imprint | This part of the site doesn't use cookies.