protected function assertFilterProducesResults($filter)
{
$crawler = $this->filterByNameOrId($filter);
if (!count($crawler)) {
throw new InvalidArgumentException("Nothing matched the filter [{$filter}] CSS query provided for [{$this->currentUri}].");
}
}