package seedu.manager.testutil;

import seedu.manager.model.activity.*;
import seedu.manager.model.tag.UniqueTagList;

/**
 * A mutable person object. For testing only.
 */
public class TestActivity implements ReadOnlyActivity {

    private String name;
    private UniqueTagList tags;

    public TestActivity() {
        tags = new UniqueTagList();
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public UniqueTagList getTags() {
        return tags;
    }

    @Override
    public String toString() {
        return this.getName();
    }

    public String getAddCommand() {
        StringBuilder sb = new StringBuilder();
        sb.append("add " + this.getName());
        // TODO: Re-implement tags when possible
        // this.getTags().getInternalList().stream().forEach(s -> sb.append("t/" + s.tagName + " "));
        return sb.toString();
    }

    @Override
    public void setStatus(boolean completed) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public String getStatus() {
        // TODO Auto-generated method stub
        return null;
    }
}

@@ -244,24 +244,85 @@
 tring name;%0A
+    private AMDate dateTime;%0A    private AMDate endDateTime;%0A
     private 
@@ -341,16 +341,16 @@
 t tags;%0A
-
 %0A    pub
@@ -599,33 +599,37 @@
 urn tags;%0A    %7D%0A
+    
 %0A
-
     @Override%0A  
@@ -1212,32 +1212,32 @@
 ted method stub%0A
-
         return n
@@ -1246,11 +1246,420 @@
 l;%0A    %7D
+%0A%0A    @Override%0A    public AMDate getDate() %7B%0A        return dateTime;%0A    %7D%0A    %0A    @Override%0A    public AMDate getEndDate() %7B%0A        return endDateTime;%0A    %7D%0A%0A    @Override%0A    public void setDateTime(String newDateTime) %7B%0A        this.dateTime.setAMDate(newDateTime);%0A    %7D%0A%0A    @Override%0A    public void setEndDateTime(String newEndDateTime) %7B%0A        this.dateTime.setAMDate(newEndDateTime);    %0A    %7D
 %0A%7D%0A

Fix TestActivity for deadlines and events