assertEquals(Lists.newArrayList("2", "4", "6"), getStringsFromElements(elements));
}
@Test
public void testPickByStyleClassEvenElementsIsEqualToPickNotOdd() {
MultipleChoicePicker evenPicker = ChoicePickerHelper.byWebElement().attribute("class").contains("even");
MultipleChoicePicker notOddPicker = ChoicePickerHelper.byWebElement().attribute("class").contains("odd").not();
assertEquals(Lists.newArrayList("2", "4", "6"), getStringsFromElements(evenPicker.pickMultiple(myFragment.getDivs())));
assertEquals(Lists.newArrayList("2", "4", "6"), getStringsFromElements(notOddPicker.pickMultiple(myFragment.getDivs())));
assertEquals(getStringsFromElements(evenPicker.pickMultiple(myFragment.getDivs())),
getStringsFromElements(notOddPicker.pickMultiple(myFragment.getDivs())));
}