public void Mallard_Fly() { var mallard = new Mallard(); var fly = mallard.PerformFly(); fly.ShouldBe("Fly away..."); }
public void MallardDuck_Quack() { var mallard = new Mallard(); var noise = mallard.PerformQuack(); noise.ShouldBe("Quack!"); }
public void MallardDuck_Display() { var mallard = new Mallard(); var look = mallard.Display(); look.ShouldBe("A fine mallard"); }