title: getting error Subscribe is not a function in jasmine
body: <p>I am getting error, subscribe is not a function in angular unit testing</p>
  <p>this is the call that I am using in component</p>
  <pre><code>this.myService.employees.subscribe(emp =&gt; this.emp = emp);
  </code></pre>
  <p>when I create a mock service for this to test the above code getting error.</p>
  <p>Can anyone suggest how can I test the above observable.</p>
  <p>I want to send mock data when <code>this.myService.employees.subscribe(emp =&gt; this.emp = emp);</code> subscribe from component</p>
  <p><strong>employees</strong> is <strong>BehaviorSubject</strong> observable</p>