@@ -0,0 +1,1474 @@
+package seedu.taskitty.model;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Collection;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.ExpectedException;%0A%0Aimport seedu.taskitty.commons.exceptions.IllegalValueException;%0Aimport seedu.taskitty.model.tag.Tag;%0Aimport seedu.taskitty.model.tag.UniqueTagList;%0Aimport seedu.taskitty.model.tag.UniqueTagList.DuplicateTagException;%0A%0A//@@author A0130853L%0Apublic class UniqueTagListTest %7B%0A    @Rule%0A    public ExpectedException thrown = ExpectedException.none();%0A    %0A    @Test%0A    public void individualTags_hasDuplicates_exceptionThrown() throws DuplicateTagException, IllegalValueException %7B%0A        thrown.expect(DuplicateTagException.class);%0A        UniqueTagList list = new UniqueTagList(new Tag(%22hi%22), new Tag(%22hi%22));%0A    %7D%0A    %0A    @Test%0A    public void createTagCollection_hasDuplicates_exceptionThrown() throws DuplicateTagException, IllegalValueException %7B%0A        thrown.expect(DuplicateTagException.class);%0A        Collection%3CTag%3E tags = new ArrayList%3CTag%3E();%0A        tags.add(new Tag(%22hi%22));%0A        tags.add(new Tag(%22hi%22));%0A        UniqueTagList list = new UniqueTagList(tags);%0A    %7D%0A    %0A    @Test%0A    public void addTagToUniqueTagList_hasDuplicate_exceptionThrown() throws DuplicateTagException, IllegalValueException %7B%0A        thrown.expect(DuplicateTagException.class);%0A        UniqueTagList list = new UniqueTagList();%0A        list.add(new Tag(%22hi%22));%0A        list.add(new Tag(%22hi%22));%0A    %7D%0A%7D%0A

Add UniqueTagList test to account for duplicateTagException thrown to improve test coverage