package seedu.taskitty.model;

import javafx.collections.FXCollections;
import seedu.taskitty.commons.core.UnmodifiableObservableList;
import seedu.taskitty.commons.exceptions.DataConversionException;
import seedu.taskitty.commons.exceptions.IllegalValueException;
import seedu.taskitty.model.task.Task;
import seedu.taskitty.model.task.TaskDate;
import seedu.taskitty.model.task.TaskTime;

import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;

import java.util.*;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import static seedu.taskitty.testutil.TestUtil.assertThrows;

public class TaskTest {

    @Rule
    public ExpectedException thrown = ExpectedException.none();
    
    @Test
    public void invalidDateFormat_exceptionThrown() throws Exception {
        thrown.expect(IllegalValueException.class);
        TaskDate date = new TaskDate("25-12-2016");
    }
    
    @Test
    public void invalidDate_exceptionThrown() throws Exception {
        thrown.expect(IllegalValueException.class);
        TaskDate date = new TaskDate("29/2/2015");
    }
    
    @Test
    public void invalidTimeFormat_exceptionThrown() throws Exception {
        thrown.expect(IllegalValueException.class);
        TaskTime date = new TaskTime("3pm");
    }
    
    @Test
    public void invalidTime_exceptionThrown() throws Exception {
        thrown.expect(IllegalValueException.class);
        TaskDate date = new TaskDate("25:00");
    }
}

@@ -35,233 +35,149 @@
 ort 
-javafx.collections.FXCollections;%0Aimport seedu.taskitty.commons.core.UnmodifiableObservableList;%0Aimport seedu.taskitty.commons.exceptions.DataConversionException;%0Aimport seedu.taskitty.commons.exceptions.IllegalValueException
+seedu.taskitty.commons.exceptions.IllegalValueException;%0Aimport seedu.taskitty.model.tag.UniqueTagList;%0Aimport seedu.taskitty.model.task.Name
 ;%0Aim
@@ -304,33 +304,8 @@
 e;%0A%0A
-import org.junit.Before;%0A
 impo
@@ -342,24 +342,24 @@
 junit.Test;%0A
+
 import org.j
@@ -393,179 +393,8 @@
 n;%0A%0A
-import java.util.*;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertSame;%0Aimport static seedu.taskitty.testutil.TestUtil.assertThrows;%0A%0A
 publ

Remove unused imports