package seedu.address.testutil;

import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.model.TaskManager;
import seedu.address.model.task.Task;

/**
 *
 */
public class TypicalTestTasks {

    public TestTask alice, benson, carl, daniel, elle, fiona, george, hoon, ida;

    public TypicalTestTasks() {
        try {
            alice = new TaskBuilder().withName("Alice Pauline")
                    .withDeadline("12/06/8111").withDescription("alice@gmail.com")
                    .withID("85355255")
                    .withTags("friends").build();
            benson = new TaskBuilder().withName("Benson Meier").withDeadline("27/02/2025")
                    .withDescription("johnd@gmail.com").withID("98765432")
                    .withTags("owesMoney", "friends").build();
            carl = new TaskBuilder().withName("Carl Kurz").withID("95352563")
                    .withDescription("heinz@yahoo.com").withDeadline("11/11/2011").build();
            daniel = new TaskBuilder().withName("Daniel Meier").withID("87652533")
                    .withDescription("cornelia@google.com").withDeadline("10/10/2010").build();
            elle = new TaskBuilder().withName("Elle Meyer").withID("9482224")
                    .withDescription("werner@gmail.com").withDeadline("12/12/2012").build();
            fiona = new TaskBuilder().withName("Fiona Kunz").withID("9482427")
                    .withDescription("lydia@gmail.com").withDeadline("22/02/2222").build();
            george = new TaskBuilder().withName("George Best").withID("9482442")
                    .withDescription("anna@google.com").withDeadline("04/04/2004").build();

            // Manually added
            hoon = new TaskBuilder().withName("Hoon Meier").withID("8482424")
                    .withDescription("stefan@mail.com").withDeadline("01/01/2001").build();
            ida = new TaskBuilder().withName("Ida Mueller").withID("8482131")
                    .withDescription("hans@google.com").withDeadline("02/02/2002").build();
        } catch (IllegalValueException e) {
            e.printStackTrace();
            assert false : "not possible";
        }
    }

    public static void loadTaskManagerWithSampleData(TaskManager ab) {
        for (TestTask task : new TypicalTestTasks().getTypicalTasks()) {
            ab.addTask(new Task(task));
        }
    }

    public TestTask[] getTypicalTasks() {
        return new TestTask[]{alice, benson, carl, daniel, elle, fiona, george};
    }

    public TaskManager getTypicalTaskManager() {
        TaskManager ab = new TaskManager();
        loadTaskManagerWithSampleData(ab);
        return ab;
    }
}

@@ -455,81 +455,95 @@
 11%22)
-.withDescription(%22alice@gmail.com%22)%0A                    .withID(%2285355255
+%0A                    .withID(%221%22)%0A                    .withDescription(%22alice@gmail.com
 %22)%0A 
@@ -650,24 +650,45 @@
 nson Meier%22)
+%0A                    
 .withDeadlin
@@ -703,16 +703,49 @@
 /2025%22)%0A
+                    .withID(%222%22)%0A
         
@@ -795,27 +795,8 @@
 om%22)
-.withID(%2298765432%22)
 %0A   
@@ -883,32 +883,33 @@
 ew TaskBuilder()
+ 
 .withName(%22Carl 
@@ -918,27 +918,8 @@
 rz%22)
-.withID(%2295352563%22)
 %0A   
@@ -966,24 +966,78 @@
 @yahoo.com%22)
+%0A                    .withID(%223%22)%0A                    
 .withDeadlin
@@ -1128,27 +1128,8 @@
 er%22)
-.withID(%2287652533%22)
 %0A   
@@ -1176,32 +1176,86 @@
 lia@google.com%22)
+%0A                    .withID(%224%22)%0A                    
 .withDeadline(%221
@@ -1338,26 +1338,8 @@
 er%22)
-.withID(%229482224%22)
 %0A   
@@ -1383,32 +1383,86 @@
 rner@gmail.com%22)
+%0A                    .withID(%225%22)%0A                    
 .withDeadline(%221
@@ -1546,26 +1546,8 @@
 nz%22)
-.withID(%229482427%22)
 %0A   
@@ -1590,32 +1590,86 @@
 ydia@gmail.com%22)
+%0A                    .withID(%226%22)%0A                    
 .withDeadline(%222
@@ -1755,26 +1755,8 @@
 st%22)
-.withID(%229482442%22)
 %0A   
@@ -1799,32 +1799,86 @@
 nna@google.com%22)
+%0A                    .withID(%227%22)%0A                    
 .withDeadline(%220
@@ -1992,26 +1992,8 @@
 er%22)
-.withID(%228482424%22)
 %0A   
@@ -2040,24 +2040,78 @@
 n@mail.com%22)
+%0A                    .withID(%228%22)%0A                    
 .withDeadlin
@@ -2198,26 +2198,8 @@
 er%22)
-.withID(%228482131%22)
 %0A   
@@ -2250,16 +2250,70 @@
 le.com%22)
+%0A                    .withID(%229%22)%0A                    
 .withDea

Fix ID of Typical Test Tasks