package seedu.taskmanager.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;

import seedu.taskmanager.commons.core.Config;

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

    @Test
    public void toString_defaultObject_stringReturned() {
        String defaultConfigAsString = "App title : Address App\n" +
                "Current log level : INFO\n" +
                "Preference file Location : preferences.json\n" +
                "Local data file location : data/addressbook.xml\n" +
                "AddressBook name : MyAddressBook";

        assertEquals(defaultConfigAsString, new Config().toString());
    }

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


}

@@ -526,23 +526,28 @@
 title : 
-Address
+Task Manager
  App%5Cn%22 
@@ -714,19 +714,19 @@
 ata/
-addressbook
+taskmanager
 .xml
@@ -752,40 +752,40 @@
    %22
-AddressBook name : MyAddressBook
+TaskManager name : MyTaskManager
 %22;%0A%0A

Fix ConfigTest Unit