package guitests;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

import seedu.address.model.AddressBook;
import seedu.address.model.person.Person;
import seedu.address.model.util.SampleDataUtil;
import seedu.address.testutil.TestUtil;

public class SampleDataTest extends AddressBookGuiTest {
    @Override
    protected AddressBook getInitialData() {
        // return null to force test app to load data from file only
        return null;
    }

    @Override
    protected String getDataFileLocation() {
        // return a non-existent file location to force test app to load sample data
        return TestUtil.getFilePathInSandboxFolder("SomeFileThatDoesNotExist1234567890.xml");
    }

    @Test
    public void addressBook_dataFileDoesNotExist_loadSampleData() throws Exception {
        Person[] expectedList = SampleDataUtil.getSamplePersons();
        assertTrue(personListPanel.isListMatching(expectedList));
    }
}

@@ -107,27 +107,27 @@
 s.model.
-AddressBook
+TaskManager
 ;%0Aimport
@@ -151,21 +151,17 @@
 del.
-person.Person
+task.Task
 ;%0Aim
@@ -283,27 +283,27 @@
 extends 
-AddressBook
+TaskManager
 GuiTest 
@@ -336,19 +336,19 @@
 ted 
-AddressBook
+TaskManager
  get
@@ -808,22 +808,20 @@
         
-Person
+Task
 %5B%5D expec
@@ -858,14 +858,12 @@
 mple
-Person
+Task
 s();
@@ -886,14 +886,12 @@
 rue(
-person
+task
 List

Modify SampleDataTest class