sb.append("C | tag : div | /html/body/table[@id='mt']/tbody/tr/th[3]/div\n");
sb.append("D | tag: div | /html/body/div[@id='maincol']/div[@id='colcontrol']/div/div[@id='bub']\n");
sb.append("E | tag: table, id: resultstable | /html/body/div[@id='maincol']/div[@id='colcontrol']/div/div[@id='bub']/table[@id='resultstable']\n");
sb.append("F | tag: a | /html/body/div[@id='maincol']/div[@id='colcontrol']/div/div[@id='bub']/table[@id='resultstable']/tbody/tr[2]/td[3]/a\n");
UiDataReader reader = new UiDataReader();
BufferedReader br = reader.getReaderForDate(sb.toString());
Map<String, String> map;
for(int i=0; i<6; i++){
map= reader.readData(br);
assertNotNull(map);
assertEquals(3, map.size());
}
map = reader.readData(br);
assertNull(map);
}