@@ -0,0 +1,1697 @@
+package seedu.ezdo.model.task;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.powermock.api.mockito.PowerMockito;%0Aimport org.powermock.core.classloader.annotations.PrepareForTest;%0Aimport org.powermock.modules.junit4.PowerMockRunner;%0Aimport org.powermock.reflect.Whitebox;%0A%0Aimport seedu.ezdo.model.tag.UniqueTagList;%0Aimport seedu.ezdo.model.todo.DueDate;%0Aimport seedu.ezdo.model.todo.Name;%0Aimport seedu.ezdo.model.todo.Priority;%0Aimport seedu.ezdo.model.todo.StartDate;%0Aimport seedu.ezdo.model.todo.Task;%0Aimport seedu.ezdo.model.todo.UniqueTaskList;%0Aimport seedu.ezdo.model.todo.UniqueTaskList.SortCriteria;%0A//@@author A0139248X%0A@RunWith(PowerMockRunner.class)%0Apublic class UniqueTaskListEnumTest %7B%0A%0A    private UniqueTaskList utl = new UniqueTaskList();%0A%0A    @Test(expected = AssertionError.class)%0A    @PrepareForTest(SortCriteria.class)%0A    public void unknownValueShouldThrowException() throws Exception %7B%0A        utl.add(new Task(new Name(%22lol%22), new Priority(%221%22), new StartDate(%22today%22), new DueDate(%22tomorrow%22),%0A                new UniqueTagList(%22jesus%22)));%0A        utl.add(new Task(new Name(%22lasdfol%22), new Priority(%221%22), new StartDate(%22today%22), new DueDate(%22tomorrow%22),%0A                new UniqueTagList(%22jesus%22)));%0A%0A        SortCriteria C = PowerMockito.mock(SortCriteria.class);%0A        Whitebox.setInternalState(C, %22name%22, %22C%22);%0A        Whitebox.setInternalState(C, %22ordinal%22, 4);%0A%0A        PowerMockito.mockStatic(SortCriteria.class);%0A        PowerMockito.when(SortCriteria.values()).thenReturn(new SortCriteria%5B%5D%7BSortCriteria.NAME, SortCriteria.PRIORITY,%0A                SortCriteria.DUE_DATE, SortCriteria.START_DATE, C%7D);%0A%0A        utl.sortTasks(C, true);%0A    %7D%0A%7D%0A

Create SortCriteria enum test for UniqueTaskList