selectors.add(themeSelector);
themeSelector = themeModelFactory.createPseudoClassSelector("visited");
selectors.add(themeSelector);
SelectorSequence sequence = createSelectorSequence(selectors);
MatcherBuilder builder = createMatcherBuilder();
Matcher matcher = builder.getMatcher(sequence);
assertSame("Constructed matcher not as expected",
universalMock, matcher);
List entities = builder.getPseudoStyleEntities();
assertEquals("List should contain one item", 1, entities.size());
StatefulPseudoClassSet actual = (StatefulPseudoClassSet) entities.get(0);
assertEquals("Pseudo class set not as expected", hoverVisited, actual);
}