BookmarksCommand.on(repo).create("a");
Changeset cs = createChangeset();
List<Bookmark> list = BookmarksCommand.on(repo).list();
Assert.assertEquals(2, list.size());
Bookmark bm = list.get(0);
Assert.assertEquals("a", bm.getName());
Assert.assertEquals(cs, bm.getChangeset());
Assert.assertTrue(bm.isActive());
bm = list.get(1);
Assert.assertEquals("bookmark", bm.getName());
Assert.assertNull(bm.getChangeset());
Assert.assertFalse(bm.isActive());
}