public function test_filter_shouldUrlEncodeValues()
{
$mapping = array(1 => 'Core tests', 3 => 'plugins tästs');
$this->table->filter($this->filter, array('segmentName', $mapping));
$metadata = $this->table->getRowsMetadata('segment');
$expected = array('segmentName==Core+tests', false, 'segmentName==plugins+t%C3%A4sts', false, false, false);
$this->assertSame($expected, $metadata);
}