title: Angular 2 - unit test for change in route by [routerLink]
body: <p>I am using material design and need to write test case for route change..
  below is my html code..</p>
  
  <pre><code> &lt;button md-raised-button class="mat-primary"[routerLink]="['add']"&gt;
   &lt;i class="fa fa-plus" aria-hidden="true"&gt;&lt;/i&gt; ADD
   &lt;/button&gt;
  </code></pre>
  
  <p>There is no any class associate to button and also don't have any on-click function written.
  I am new in angular2 and tried many options to test, but for this kind what is best approach to write jasmine unit test case?</p>