Also you can rewrite it so:
```javascript
player.setPlaybackQuality.andCallFake(function (){
  player.quality = quality;
});
```
In this case, you no need line 90.