package seedu.taskboss.storage;

import java.io.IOException;
import seedu.taskboss.model.ReadOnlyTaskBoss;
import seedu.taskboss.model.UserPrefs;

/**
 * StorageStub class for dependency injection
 */
public class StorageStub extends StorageManager {

    private TaskBossStorage taskBoss;
    private String filepath;

    public StorageStub(String filepath) {
        this.filepath = filepath;
    }
    
    @Override
    public void StorageManager(TaskBossStorage taskBossStorage, UserPrefsStorage userPrefsStorage) {
        this.taskBossStorage = taskBossStorage;
        this.userPrefsStorage = userPrefsStorage;
    }

    @Override
    public void saveTaskBoss(ReadOnlyTaskBoss taskBoss) throws IOException; {
        this.taskBoss = taskBoss;
    }

    @Override
    public String getTaskBossFilePath() {
        return this.filepath;
    }
}

@@ -82,24 +82,16 @@
 s.model.
-ReadOnly
 TaskBoss
@@ -396,32 +396,20 @@
    %0A
-    @Override%0A    public
+%0A    private
  voi
@@ -647,24 +647,16 @@
 oss(
-ReadOnly
 TaskBoss
  tas
@@ -651,16 +651,23 @@
 TaskBoss
+Storage
  taskBos

Update StorageStub.java