Angular 2: How to mock ChangeDetectorRef while unit testing Angular 2: How to mock ChangeDetectorRef while unit testing typescript typescript