PHP Class ApiPlatform\Core\Tests\Doctrine\Orm\Filter\RangeFilterTest

Author: Lee Siong Chan ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\KernelTestCase
Show file Open project: api-platform/core

Protected Properties

Property Type Description
$resourceClass string

Public Methods

Method Description
provideApplyTestData ( ) : array Provides test data.
testApply ( $properties, array $filterParameters, string $expected )
testGetDescription ( )

Protected Methods

Method Description
setUp ( )

Method Details

provideApplyTestData() public method

Provides 3 parameters: - configuration of filterable properties - filter parameters - expected DQL query
public provideApplyTestData ( ) : array
return array

setUp() protected method

protected setUp ( )

testApply() public method

public testApply ( $properties, array $filterParameters, string $expected )
$filterParameters array
$expected string

testGetDescription() public method

public testGetDescription ( )

Property Details

$resourceClass protected property

protected string $resourceClass
return string