public void testSoundStop() throws Exception {
        System.out.println("playSoundStop");
        MusicController mc = new MusicController();
        Thread instance=new Thread (mc);
        instance.start();
        for(int i=0;i<30;i++){
            System.out.println(i+" Seconds passed ");
            Thread.sleep(1000);
            if (i ==5){
            System.out.println("stopped");
            mc.stop();
            }


            if (i ==15){
            System.out.println("interupted");
            instance.interrupt();


            }

        }
        mc.stop();
    }