@@ -0,0 +1,1048 @@
+package seedu.ezdo.model.task;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.mockito.Mockito.*;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport seedu.ezdo.model.tag.Tag;%0Aimport seedu.ezdo.model.tag.UniqueTagList;%0Aimport seedu.ezdo.model.tag.UniqueTagList.DuplicateTagException;%0A%0Apublic class UniqueTagListTest %7B%0A%0A    @Rule%0A    public ExpectedException thrown = ExpectedException.none();%0A%0A    @Test%0A    public void add_duplicate_throwsDuplicateTagException() throws Exception %7B%0A        thrown.expect(DuplicateTagException.class);%0A        UniqueTagList spy = spy(UniqueTagList.class);%0A        Tag tag = new Tag(%22lol%22);%0A        when(spy.contains(tag)).thenReturn(true);%0A        spy.add(tag);%0A    %7D%0A%0A    @Test%0A    public void equals_same_true() %7B%0A        UniqueTagList utl = new UniqueTagList();%0A        assertTrue(utl.equals(utl));%0A    %7D%0A%0A    @Test%0A    public void equals_notUtl_false() %7B%0A        UniqueTagList utl = new UniqueTagList();%0A        assertFalse(utl.equals(new Integer(1)));%0A    %7D%0A%7D%0A

Add UniqueTagListTest