示例#1
0
        public void RubberDuck_Display()
        {
            var rubber = new Rubber();
            var look   = rubber.Display();

            look.ShouldBe("Rubber duckie");
        }
示例#2
0
        public void RubberDuck_Quack()
        {
            var rubber = new Rubber();
            var noise  = rubber.PerformQuack();

            noise.ShouldBe("Squeak");
        }