public function testDeactivateFilter(): void
{ $request =
new Request([],
['property-filter' => false
]);
$request->
setMethod(Request::METHOD_POST
);
$context =
$this->
createMock(SalesChannelContext::
class);
$connection =
$this->
createMock(Connection::
class);
$connection->
expects(static::
never()) ->
method('fetchAllAssociative'
);
$handler =
new PropertyListingFilterHandler( new StaticEntityRepository([]),
$connection );
$result =
$handler->
create($request,
$context);
static::
assertNull($result);
} public function testEmptyRequest(): void
{