package seedu.task.commons.core;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;

public class ConfigTest {
    @Rule
    public ExpectedException thrown = ExpectedException.none();

    @Test
    public void toString_defaultObject_stringReturned() {
        String defaultConfigAsString = "TaskList name : Task Manager\n" +
                "Current log level : INFO\n" +
                "Preference file Location : preferences.json\n" +
                "Local data file location : data/addressbook.xml\n" +
                "TaskManager name : MyTaskManager";
        System.out.println("------");
        System.out.println(defaultConfigAsString);
        System.out.println(new Config().toString());
        assertEquals(defaultConfigAsString, new Config().toString());
    }

    @Test
    public void equalsMethod() {
        Config defaultConfig = new Config();
        assertNotNull(defaultConfig);
        assertTrue(defaultConfig.equals(defaultConfig));
    }


}

@@ -468,12 +468,15 @@
 Task
-List
+Manager
  nam
@@ -663,19 +663,19 @@
 ata/
-addressbook
+taskmanager
 .xml

fix ConfigTest