f = folderManager.getUserFolder(new User(1), "my folder1");
assertEquals(0,f.getSize());
}
public void testDoAddToFolder() throws Exception{
Folder f = folderManager.getUserFolder(new User(1), "my folder3");
assertEquals(0,f.getSize());
int[] bmIds = {301,302,303};
action.setLoggedInUser(new User(1));
action.setOp(new String[]{ManageBookmarks.OP_ADD_TO_FOLDER});
action.setFolder("my folder3");
action.setBookmarkId(bmIds);
String code = action.execute();
assertEquals(ActionSupport.SUCCESS,code);
f = folderManager.getUserFolder(new User(1), "my folder3");
assertEquals(3,f.getSize());
}