{
IGuide guide0 = guide("0");
IGuide guide1 = guide("1");
IGuide guide2 = guide("2");
GuidesSet set = new GuidesSet();
set.add(guide0);
set.add(guide1);
set.add(guide2);
SortGuidesByTitleAction.sortGuidesSet(set);
assertEquals(3, set.getGuidesCount());
assertTrue(set.getGuideAt(0) == guide0);
assertTrue(set.getGuideAt(1) == guide1);
assertTrue(set.getGuideAt(2) == guide2);
}