use Symfony\Component\HttpFoundation\Request;
/**
* @internal
*
* @covers \Shopware\Core\Content\Product\SalesChannel\Listing\Filter\ShippingFreeListingFilterHandler
*/
class ShippingFreeFilterHandlerTest extends TestCase
{ public function testFilterCanBeSkipped(): void
{ $result =
(new ShippingFreeListingFilterHandler())->
create( new Request([],
['shipping-free-filter' => false
]),
$this->
createMock(SalesChannelContext::
class) );
static::
assertNull($result);
} /**
* @dataProvider filterProvider
*/
public function testFilterCanBeCreated(bool
$input): void
{