TestOrderFavoritesObserver observer = new TestOrderFavoritesObserver(editor, mySubProject1LibFavorite,
mySubProject1CompleFavorite, mySubSubProjectCompileFavorite, mySubProject1DocFavorite,
mySubSubProjectDocFavorite, mySubSubProjectLibFavorite);
editor.addFavoriteTasksObserver(observer, false);
editor.moveFavoritesAfter(favoritesToMove);
//we're going to move them again, set the new expected order.
observer.setExpectedOrder(mySubProject1LibFavorite, mySubSubProjectCompileFavorite, mySubProject1CompleFavorite,
mySubSubProjectDocFavorite, mySubProject1DocFavorite, mySubSubProjectLibFavorite);