Hello all! I have a problem with visual component List. In
Unit Testing I need programmaticly set selected items and
manipulate List's dataProvider. So i have a code something like
this (see attachment). Initially I have selected 0-index element
('str1'). After this I've removed element with index 0 from
dataProvider. I've got in debug mode following:
dataProvider - [str2, str3]
selectedIndex = 0 insted of -1 (it must be not selected)
selectedItem = str1.
Could anybody explain me what wrong is? Thank you!