public function test_simple()
 {
     global $ID;
     $ID = 'start';
     $lines = array("schema    : bar", "cols      : %pageid%, data", "filter    : %pageid% = \$STRUCT.foo.pages\$");
     $configParser = new meta\ConfigParser($lines);
     $actual_config = $configParser->getConfig();
     $search = new meta\SearchConfig($actual_config);
     list(, $opts) = $search->getSQL();
     $result = $search->execute();
     $this->assertEquals(array('page1', 'page2'), $opts, '$STRUCT.table.col$ should not require table to be selected');
     $this->assertEquals('data of page1', $result[0][1]->getValue());
     $this->assertEquals('data of page2', $result[1][1]->getValue());
 }