I created a mock of existing service simply by extending it as below
class mockData extends DataService { markCompleted() { return (\'completed\'); }