I have a service (ChildService) which depends on another service (InteractWithServerService). The latter service (InteractWithServerService) is used to make server calls and
Using jasmin 2.6.2: get is a function so you need to add the arrow function notation to the answer above:
get
providers: [ { provide: InteractWithServerService, useValue: { get: () => Observable.of(..) } } ]