beforeEach(function () {
jasmine.Expectation.addMatchers({
toBePlaying: function () {
return {
compare: function (actual, expected) {
var player = actual;
pass: player.currentlyPlayingSong === expected && player.isPlaying
}
};
});