@@ -0,0 +1,840 @@
+package seedu.address.logic.commands;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.address.model.Model;%0Aimport seedu.address.model.ModelManager;%0Aimport seedu.address.model.TaskBook;%0Aimport seedu.address.model.TaskBookBuilder;%0Aimport seedu.address.model.config.Config;%0A%0Apublic class ClearCommandTest %7B%0A%0A    @Test%0A    public void execute_clearsTasksInModel() %7B%0A        final TaskBook taskBook = new TaskBookBuilder().addTypicalTasks().build();%0A        final Model model = new ModelManager(new Config(), taskBook);%0A        final ClearCommand command = new ClearCommand();%0A        command.setData(model);%0A        final CommandResult result = command.execute();%0A        assertEquals(new TaskBook(), model.getTaskBook());%0A        assertEquals(%22Task book has been cleared!%22, result.feedbackToUser);%0A    %7D%0A%0A%7D%0A

add ClearCommandTest