FilterPluginBaseStub example

/** * @covers ::acceptExposedInput * * @dataProvider acceptExposedInputProvider */
  public function testAcceptExposedInput(bool $expected_result, array $options, array $input) {
    $definition = [
      'title' => 'Accept exposed input Test',
      'group' => 'Test',
    ];
    $filter = new FilterPluginBaseStub([], 'stub', $definition);
    $filter->options = $options;
    $this->assertSame($expected_result$filter->acceptExposedInput($input));
  }

  /** * The data provider for testAcceptExposedInput. * * @return array * The data set. */
  public function acceptExposedInputProvider() {
    
Home | Imprint | This part of the site doesn't use cookies.