public void DuckSimulatorTest() { var mallardDuck = new MallardDuck(new FlyWithWings(), new Quack()); mallardDuck.Display(); mallardDuck.PerformFly(); mallardDuck.PerformQuack(); //Dynamically change behavior mallardDuck.ChangeFlyBehaviour(new FlyRocketPower()); mallardDuck.PerformFly(); Assert.True(true); }