@@ -0,0 +1,2103 @@
+package guitests;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.address.logic.commands.RedoCommand;%0Aimport seedu.address.testutil.TestTask;%0A%0Apublic class RedoCommandTest extends AddressBookGuiTest %7B%0A%0A    @Test%0A    public void redo_emptySession_failure() %7B%0A        commandBox.runCommand(%22redo%22);%0A        assertResultMessage(RedoCommand.MESSAGE_NO_FORWARDS_COMMAND);%0A    %7D%0A%0A    @Test%0A    public void redo_noForwardCommand_failure() %7B%0A        //End of state stack%0A        commandBox.runCommand(%22delete 1%22);%0A        commandBox.runCommand(%22undo%22);%0A        commandBox.runCommand(%22redo%22);%0A        commandBox.runCommand(%22redo%22);%0A        assertResultMessage(RedoCommand.MESSAGE_NO_FORWARDS_COMMAND);%0A        commandBox.runCommand(%22redo%22);%0A        assertResultMessage(RedoCommand.MESSAGE_NO_FORWARDS_COMMAND);%0A    %7D%0A%0A    @Test%0A    public void redo_addThenRedo_success() throws Exception %7B%0A        TestTask taskToAdd = td.hoon;%0A        commandBox.runCommand(taskToAdd.getAddCommand());%0A%0A        assertRedoSuccess();%0A    %7D%0A%0A    @Test%0A    public void redo_clearThenRedo_success() throws Exception %7B%0A        commandBox.runCommand(%22clear%22);%0A%0A        assertRedoSuccess();%0A    %7D%0A%0A    @Test%0A    public void redo_deleteThenRedo_success() throws Exception %7B%0A        commandBox.runCommand(%22delete 1%22);%0A%0A        assertRedoSuccess();%0A    %7D%0A%0A    @Test%0A    public void redo_editThenRedo_success() throws Exception %7B%0A        String detailsToEdit = %22Bobby d/91234567 p/1 i/Block 123, Bobby Street 3 t/husband%22;%0A        int taskListIndex = 1;%0A%0A        commandBox.runCommand(%22edit %22 + taskListIndex + %22 %22 + detailsToEdit);%0A%0A        assertRedoSuccess();%0A    %7D%0A%0A    /**%0A     * Runs the undo command to undo the previously executed command and confirms the result is correct.%0A     * @param targetIndexOneIndexed e.g. index 1 to delete the first person in the list,%0A     * @param currentList A copy of the current list of persons (before deletion).%0A     */%0A    private void assertRedoSuccess() %7B%0A        commandBox.runCommand(%22undo%22);%0A        commandBox.runCommand(%22redo%22);%0A%0A        assertResultMessage(RedoCommand.MESSAGE_SUCCESS);%0A%0A    %7D%0A%0A%7D%0A%0A

Add Junit tests for Redo command