    @Test
    public void testFavorites() {

        java.util.List<Favorite> favs = new ArrayList<>();
        char[] chars = new char[]{'d', 'c', 'b', 'a'};
        int ix = 1;
        for (char c : chars) {
            favs.add(new Favorite(ix *= 10, "foo/" + c));
        }
        project.saveFavorites(favs);
        java.util.List<Favorite> nue = project.favorites();
        assertEquals(new HashSet<>(favs), new HashSet<>(nue));
    }