コード例 #1
0
        public void TheMessageShouldBeYouAreWrong()
        {
            IClock clock   = new SaturdayClock();
            var    autocue = new Autocue(clock);

            var message = autocue.GetSomethingIntelligent();

            message.ShouldBe(Autocue.YoureWrongMessage);
        }
コード例 #2
0
        public void ShoutSomething()
        {
            var message = _autocue.GetSomethingIntelligent();

            _megaphone.Shout(message);
        }