/// <summary>
        /// probably hacky code, but the designer shows again, feel free to clean this up
        /// got no experience with ninject
        /// </summary>
        public override void Load()
        {
            //for the speech converter
            Bind<ISpeechSynthesizer>().ToConstant(new CradiatorSpeechSynthesizer(new SpeechSynthesizer()));

            var ss = new SpeechSynthesizer();

            var css = new CradiatorSpeechSynthesizer(ss);
            var vs = new VoiceSelector(css);

            Bind<InstalledVoiceConverter>().ToConstant(new InstalledVoiceConverter( vs ));

            //for the build breakers
            var fs = new FixerStrategy();
            var bs = new BuildBuster( new Config.ConfigSettings(), fs, new GuiltFactory());
            Bind<IBuildBuster>().ToConstant(bs);
        }
 public void CanGetInstalledVoices()
 {
     var bigSynth = new CradiatorSpeechSynthesizer(new SpeechSynthesizer()) { Rate = -2 };
     Assert.That(bigSynth.GetInstalledVoices().Count(), Is.GreaterThanOrEqualTo(1));
     Assert.That(bigSynth.GetInstalledVoices().Where(v => v.Name.StartsWith("Microsoft")).Count(), Is.GreaterThanOrEqualTo(1));
 }