public void ShouldBeExecutableAfterFilePathAreSpecified()
            {
                var presenter = new SpeechControlPresenter(new StubSpeechService());

                presenter.File = GetTestFile();
                Assert.IsTrue(presenter.SendSpeech.CanExecute(null));
            }
            public void ShouldBeTrueWhenFilePathAreSpecified()
            {
                var presenter = new SpeechControlPresenter(new StubSpeechService());

                presenter.File = GetTestFile();
                Assert.IsTrue(presenter.CanSendSpeech);
            }
            public void ShouldSendSpeech()
            {
                var srv       = new StubSpeechService();
                var presenter = new SpeechControlPresenter(srv);

                presenter.File = GetTestFile();
                presenter.SendSpeech.Execute(null);

                Assert.IsTrue(srv.SendMethodWasCalled);
            }
            public void ShouldNotBeExecutableBeforeFilePathAreSpecified()
            {
                var presenter = new SpeechControlPresenter(new StubSpeechService());

                Assert.IsFalse(presenter.SendSpeech.CanExecute(null));
            }
            public void ShouldBeFalseWhenControlInitialized()
            {
                var presenter = new SpeechControlPresenter(new StubSpeechService());

                Assert.IsFalse(presenter.CanSendSpeech);
            }