/*global describe, before, it, assert, MusicPlayer */
describe('Music player in browser', function () {
    before(function () {
        this.musicPlayer = new MusicPlayer();
    });

    describe('Instance', function () {
        it('should be made MusicPlayer instance', function () {
            assert(this.musicPlayer instanceof MusicPlayer === true);
        });
    });

    describe('#loadMusic()', function () {
        it('should load music file', function () {
            // TODO
        });
    });

    describe('#isMusicFile()', function () {
        it('should is music file', function () {
            // TODO
        });
    });

    describe('#play()', function () {
        it('should play sound', function () {
            // TODO
        });
    });

    describe('#stop()', function () {
        it('should stop sound', function () {
            // TODO
        });
    });

    describe('#rewind()', function () {
        it('should rewind sound', function () {
            // TODO
        });
    });

    describe('#forward()', function () {
        it('should forward sound', function () {
            // TODO
        });
    });
});

@@ -93,24 +93,53 @@
 nction () %7B%0A
+    var musicPlayer = null;%0A%0A
     before(f
@@ -159,21 +159,16 @@
         
-this.
 musicPla
@@ -327,13 +327,8 @@
 ert(
-this.
 musi
@@ -589,16 +589,24 @@
 'should 
+be file 
 is music
@@ -602,32 +602,39 @@
 le is music file
+ format
 ', function () %7B
@@ -638,39 +638,359 @@
 ) %7B%0A            
-// TODO
+var types = %7B%0A                mp3: 'audio/mp3',%0A                wav: 'audio/wav',%0A                ogg: 'audio/ogg',%0A                m4a: 'audio/x-m4a',%0A                wma: 'audio/x-ms-wma'%0A            %7D;%0A%0A            for (var i in this.types) %7B%0A                assert(musicPlayer.isMusicFile(types%5Bi%5D) === true);%0A            %7D
 %0A        %7D);%0A   

Add test for isMusicFile()