public void testReplaceGuidesEmpty()
{
initDB();
// Setup guides for replacing
final OPMLGuide g1, g2;
final ArrayList<DefaultOPMLFeed> a1, a2;
g1 = new OPMLGuide("g1", "icon1", false, null, null, false, 0, false, false, false);
a1 = new ArrayList<DefaultOPMLFeed>();
a1.add(new DirectOPMLFeed("1", "file://1", "file://1", 0, null, null, -1, null, null, null, null, null, null, false, 1, false, 0, false, 0));
a1.add(new DirectOPMLFeed("2", "file://2", "file://2", 0, null, null, -1, null, null, null, null, null, null, false, 1, false, 0, false, 0));
g1.setFeeds(a1);
g2 = new OPMLGuide("g1", null, false, null, null, false, 0, false, false, false);
a2 = new ArrayList<DefaultOPMLFeed>();
a2.add(new DirectOPMLFeed("3", "file://3", "file://3", 0, null, null, -1, null, null, null, null, null, null, false, 1, false, 0, false, 0));
a2.add(new DirectOPMLFeed("4", "file://4", "file://4", 0, null, null, -1, null, null, null, null, null, null, false, 1, false, 0, false, 0));
g2.setFeeds(a2);