//duplicate a single task
FavoriteTask favoriteTask4 = editor.duplicateFavorite(favoriteTask1, new TestEditFavoriteInteraction("name4", "command4"));
Assert.assertNotNull(favoriteTask4);
Assert.assertEquals("command4", favoriteTask4.getFullCommandLine());
Assert.assertEquals("name4", favoriteTask4.getDisplayName());
Assert.assertEquals(favoriteTask1.alwaysShowOutput(), favoriteTask4.alwaysShowOutput());
//there should be 4 tasks now
Assert.assertEquals(4, editor.getFavoriteTasks().size());
//now duplicate another one