ApiPlatform\Core\Tests\Doctrine\Orm\Filter\NumericFilterTest::testGetDescriptionDefaultFields PHP Method

testGetDescriptionDefaultFields() public method

    public function testGetDescriptionDefaultFields()
    {
        $filter = new NumericFilter($this->managerRegistry, new RequestStack());
        $this->assertEquals(['id' => ['property' => 'id', 'type' => 'int', 'required' => false], 'dummyFloat' => ['property' => 'dummyFloat', 'type' => 'float', 'required' => false], 'dummyPrice' => ['property' => 'dummyPrice', 'type' => 'string', 'required' => false]], $filter->getDescription($this->resourceClass));
    }